Skip to content

Commit 4772d96

Browse files
committed
update
1 parent d62424b commit 4772d96

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ext/CatalystBifurcationKitExtension/bifurcation_kit_extension.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function BK.BifurcationProblem(rs::ReactionSystem, u0_bif, ps, bif_par, args...;
1313

1414
# Creates NonlinearSystem.
1515
Catalyst.conservationlaw_errorcheck(rs, vcat(ps, u0))
16-
nsys = convert(NonlinearSystem, rs; remove_conserved=true, defaults=Dict(u0))
16+
nsys = complete(convert(NonlinearSystem, rs; remove_conserved=true, defaults=Dict(u0)))
1717

1818
# Makes BifurcationProblem (this call goes through the ModelingToolkit-based BifurcationKit extension).
1919
return BK.BifurcationProblem(nsys, u0_bif, ps, bif_par, args...; plot_var=plot_var,

ext/CatalystHomotopyContinuationExtension/homotopy_continuation_extension.jl

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

src/spatial_reaction_systems/spatial_ODE_systems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function build_odefunction(lrs::LatticeReactionSystem, vert_ps::Vector{Vector{T}
156156
transport_rates = make_sidxs_to_transrate_map(vert_ps, edge_ps, lrs)
157157

158158
# Prepares the Jacobian and forcing functions (depending on jacobian and sparsity selection).
159-
osys = convert(ODESystem, lrs.rs; name, combinatoric_ratelaws, include_zero_odes, checks)
159+
osys = complete(convert(ODESystem, lrs.rs; name, combinatoric_ratelaws, include_zero_odes, checks))
160160
if jac
161161
# `build_jac_prototype` currently assumes a sparse (non-spatial) Jacobian. Hence compute this.
162162
# `LatticeTransportODEjac` currently assumes a dense (non-spatial) Jacobian. Hence compute this.

0 commit comments

Comments
 (0)