Skip to content

Commit 10c6228

Browse files
committed
Fix ODAEProblem's observed lowering
1 parent e6ce778 commit 10c6228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structural_transformation/codegen.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,10 +453,10 @@ function build_observed_function(
453453
[],
454454
pre(Let(
455455
[
456+
assignments[is_not_prepended_assignment]
456457
collect(Iterators.flatten(solves))
457458
map(eq -> eq.lhseq.rhs, obs[1:maxidx])
458459
subs
459-
assignments[is_not_prepended_assignment]
460460
],
461461
isscalar ? ts[1] : MakeArray(ts, output_type),
462462
false

0 commit comments

Comments
 (0)