We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f29ec53 commit f0b1a0cCopy full SHA for f0b1a0c
src/utils.jl
@@ -88,7 +88,7 @@ function build_function(rhss, vs, ps = (), args = (), conv = simplified_expr, ex
88
oop_ex = :(
89
($(fargs.args...),) -> begin
90
# If u is a weird non-StaticArray type and we want a sparse matrix, just do the optimized sparse anyways
91
- if $(fargs.args[1]) isa Array || (!($(fargs.args[1]) <: StaticArray) && $(rhss isa SparseMatrixCSC))
+ if $(fargs.args[1]) isa Array || (!(typeof($(fargs.args[1])) <: StaticArray) && $(rhss isa SparseMatrixCSC))
92
return $arr_bounds_block
93
else
94
X = $bounds_block
0 commit comments