Skip to content

Commit 4f67240

Browse files
fix: use default_toterm when building du0 for implicit DAEs
1 parent 8ef587c commit 4f67240

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
@@ -1364,7 +1364,7 @@ function process_SciMLProblem(
13641364

13651365
if implicit_dae
13661366
ddvs = map(Differential(iv), dvs)
1367-
du0 = varmap_to_vars(op, ddvs; toterm = identity,
1367+
du0 = varmap_to_vars(op, ddvs; toterm = default_toterm,
13681368
tofloat)
13691369
kwargs = merge(kwargs, (; ddvs))
13701370
else

0 commit comments

Comments
 (0)