Skip to content

Commit 262324f

Browse files
fix: only set solvable parameter values to zero in limited cases
1 parent 2a211f5 commit 262324f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/systems/problem_utils.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,8 @@ function maybe_build_initialization_problem(
583583
end
584584

585585
for p in punknowns
586+
is_parameter_solvable(p, pmap, defs, guesses) || continue
587+
get(op, p, missing) === missing || continue
586588
p = unwrap(p)
587589
stype = symtype(p)
588590
op[p] = get_temporary_value(p)

0 commit comments

Comments
 (0)