Skip to content

Commit 6f1c63c

Browse files
committed
Update build_observed_function as well
1 parent 861663f commit 6f1c63c

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
@@ -386,7 +386,7 @@ function build_observed_function(
386386
if (isscalar = !(ts isa AbstractVector))
387387
ts = [ts]
388388
end
389-
ts = Symbolics.scalarize.(value.(ts))
389+
ts = unwrap.(Symbolics.scalarize(ts))
390390

391391
vars = Set()
392392
sys = state.sys

0 commit comments

Comments
 (0)