Skip to content

Commit 99ad336

Browse files
fix: retain parameter dependencies in build_operating_point!
1 parent 7c1f013 commit 99ad336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/problem_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ function build_operating_point!(sys::AbstractSystem,
549549

550550
for (k, v) in op
551551
k = unwrap(k)
552-
if is_parameter(sys, k)
552+
if is_parameter(sys, k) || has_parameter_dependency_with_lhs(sys, k)
553553
pmap[k] = v
554554
elseif is_variable(sys, k) || has_observed_with_lhs(sys, k) ||
555555
iscall(k) &&

0 commit comments

Comments
 (0)