You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -171,9 +179,9 @@ function _build_function(target::JuliaTarget, rhss, args...;
171
179
_rhss = rhss
172
180
end
173
181
174
-
ifeltype(eltype(rhss)) <:SparseMatrixCSC# Array of arrays of sparse matrices
182
+
ifis_array_array_sparse_matrix(rhss) # Array of arrays of sparse matrices
175
183
ip_sys_exprs =reduce(vcat,[vec(reduce(vcat,[vec([:($X[$i][$j].nzval[$k] =$(conv(rhs))) for (k, rhs) ∈enumerate(rhsel2.nzval)]) for (j, rhsel2) ∈enumerate(rhsel)], init=Expr[])) for (i,rhsel) ∈enumerate(_rhss)],init=Expr[])
176
-
elseifeltype(eltype(rhss)) <:AbstractArray# Array of arrays of arrays
184
+
elseifis_array_array_matrix(rhss) # Array of arrays of arrays
177
185
ip_sys_exprs =reduce(vcat,[vec(reduce(vcat,[vec([:($X[$i][$j][$k] =$(conv(rhs))) for (k, rhs) ∈enumerate(rhsel2)]) for (j, rhsel2) ∈enumerate(rhsel)], init=Expr[])) for (i,rhsel) ∈enumerate(_rhss)], init=Expr[])
178
186
elseifeltype(rhss) <:SparseMatrixCSC# Array of sparse matrices
179
187
ip_sys_exprs =reduce(vcat,[vec([:($X[$i].nzval[$j] =$(conv(rhs))) for (j, rhs) ∈enumerate(rhsel.nzval)]) for (i,rhsel) ∈enumerate(_rhss)], init=Expr[])
0 commit comments