Skip to content

Commit acb665a

Browse files
fix: fix observed generation for systems without parameters
1 parent 34ea159 commit acb665a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/systems/diffeqs/odesystem.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,9 +460,6 @@ function build_explicit_observed_function(sys, ts;
460460
else
461461
ps = (DestructuredArgs(ps, inbounds = !checkbounds),)
462462
end
463-
if isempty(ps)
464-
ps = (DestructuredArgs([]),)
465-
end
466463
dvs = DestructuredArgs(unknowns(sys), inbounds = !checkbounds)
467464
if inputs === nothing
468465
args = [dvs, ps..., ivs...]

0 commit comments

Comments
 (0)