Skip to content

Commit d016f3a

Browse files
authored
fix: propagate tofloat, use_union to better_varmap_to_vars
1 parent a553fd1 commit d016f3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/systems/problem_utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ function process_SciMLProblem(
814814
evaluate_varmap!(op, dvs; limit = substitution_limit)
815815

816816
u0 = better_varmap_to_vars(
817-
op, dvs; tofloat = true, use_union = false,
817+
op, dvs; tofloat, use_union,
818818
container_type = u0Type, allow_symbolic = symbolic_u0)
819819

820820
if u0 !== nothing
@@ -848,7 +848,7 @@ function process_SciMLProblem(
848848
du0map = to_varmap(du0map, ddvs)
849849
merge!(op, du0map)
850850
du0 = varmap_to_vars(op, ddvs; toterm = identity,
851-
tofloat = true)
851+
tofloat)
852852
kwargs = merge(kwargs, (; ddvs))
853853
else
854854
du0 = nothing

0 commit comments

Comments
 (0)