Skip to content

Commit ccd265a

Browse files
fix: fix removal of missing defaults for solved array parameters
1 parent 0684cb3 commit ccd265a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/systems/problem_utils.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,10 @@ function maybe_build_initialization_problem(
574574
p = unwrap(p)
575575
stype = symtype(p)
576576
op[p] = get_temporary_value(p)
577+
if iscall(p) && operation(p) === getindex
578+
arrp = arguments(p)[1]
579+
op[arrp] = collect(arrp)
580+
end
577581
end
578582

579583
for v in missing_unknowns

0 commit comments

Comments
 (0)