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 ed1895c commit af94889Copy full SHA for af94889
src/systems/nonlinear/initializesystem.jl
@@ -498,13 +498,13 @@ end
498
499
function get_possibly_array_fallback_singletons(varmap, p)
500
if haskey(varmap, p)
501
- return varmap[p]
+ return value(varmap[p])
502
end
503
if symbolic_type(p) == ArraySymbolic()
504
symbolic_has_known_size(p) || return nothing
505
scal = collect(p)
506
if all(x -> haskey(varmap, x), scal)
507
- res = [varmap[x] for x in scal]
+ res = [value(varmap[x]) for x in scal]
508
if any(x -> x === nothing, res)
509
return nothing
510
elseif any(x -> x === missing, res)
0 commit comments