# \`SparseArray\` types

**URL:** <https://discourse.julialang.org/t/sparsearray-types/138210>\
**Category:** Internals & Design\
**Tags:** type, staticarrays, internals, rfc, type-inference\
**Created:** [July 15, 2026, 8:50am UTC](https://discourse.julialang.org/t/sparsearray-types/138210 "2026-07-15T08:50:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rokke](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rokke/32/222691_2.png) [@rokke](https://discourse.julialang.org/u/rokke)\
**Post date:** [July 15, 2026, 3:03pm UTC](https://discourse.julialang.org/t/sparsearray-types/138210/2 "2026-07-15T15:03:36Z")

</div>

ok, after looking at some discussions / issues ([here](https://discourse.julialang.org/t/error-showing-value-of-type-sparsematrixcsc), [#512](https://github.com/JuliaSparse/SparseArrays.jl/issues/512)), I like option #2. it sounds like a bunch of things assume that it’s using a numeric type; since I’m fixing the output funkyness, it would be better to error on instantiation than randomly at some point while you’re using them.

a quick aside; someone who cares about static arrays should give that repo a little love. the `sparsematrix.jl` file is almost 5k lines…

---

_[View the full topic](https://discourse.julialang.org/t/sparsearray-types/138210)._
