Skip to content

Commit 7d82fc8

Browse files
fix: only set solvable parameter values to zero in limited cases
1 parent bc02cac commit 7d82fc8

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
@@ -596,6 +596,8 @@ function maybe_build_initialization_problem(
596596
end
597597

598598
for p in punknowns
599+
is_parameter_solvable(p, pmap, defs, guesses) || continue
600+
get(op, p, missing) === missing || continue
599601
p = unwrap(p)
600602
stype = symtype(p)
601603
op[p] = get_temporary_value(p)

0 commit comments

Comments
 (0)