Skip to content

Commit a03f3a5

Browse files
committed
update
1 parent 1680440 commit a03f3a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/CatalystHomotopyContinuationExtension/homotopy_continuation_extension.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ end
4444
# For a given reaction system, parameter values, and initial conditions, find the polynomial that HC solves to find steady states.
4545
function steady_state_polynomial(rs::ReactionSystem, ps, u0)
4646
ns = convert(NonlinearSystem, rs; remove_conserved = true)
47-
pre_varmap = map(pair -> pair, [symmap_to_varmap(rs,u0)..., symmap_to_varmap(rs,ps)...])
47+
pre_varmap = [symmap_to_varmap(rs,u0)..., symmap_to_varmap(rs,ps)...]
4848
conservationlaw_errorcheck(rs, pre_varmap)
4949
p_vals = ModelingToolkit.varmap_to_vars(pre_varmap, parameters(ns); defaults = ModelingToolkit.defaults(ns))
5050
p_dict = Dict(parameters(ns) .=> p_vals)

0 commit comments

Comments
 (0)