Skip to content

Commit 7d5315f

Browse files
committed
Fix #1504
1 parent cdcf181 commit 7d5315f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/diffeqs/odesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ function build_explicit_observed_function(
270270
if (isscalar = !(ts isa AbstractVector))
271271
ts = [ts]
272272
end
273-
ts = Symbolics.scalarize.(value.(ts))
273+
ts = unwrap.(Symbolics.scalarize(ts))
274274

275275
vars = Set()
276276
foreach(Base.Fix1(vars!, vars), ts)

0 commit comments

Comments
 (0)