Skip to content

Commit

Permalink
Fix wrong variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Oct 23, 2022
1 parent 2905e79 commit 0e9b2de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems/optimization/optimizationsystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ function OptimizationProblemExpr{iip}(sys::OptimizationSystem, u0,

defs = defaults(sys)
defs = mergedefaults(defs, parammap, ps)
defs = mergedefaults(defs, u0map, dvs)
defs = mergedefaults(defs, u0, dvs)

u0 = varmap_to_vars(u0map, dvs; defaults = defs, tofloat = false)
p = varmap_to_vars(parammap, ps; defaults = defs, tofloat = false, use_union)
Expand Down

0 comments on commit 0e9b2de

Please sign in to comment.