Skip to content

Commit c2b9690

Browse files
committed
sys.name to getname(sys)
1 parent 23323bc commit c2b9690

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ext/MTKBifurcationKitExt.jl

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ struct ObservableRecordFromSolution{S, T}
3434
param_end_idxs = state_end_idxs + length(parameters(nsys))
3535

3636
bif_par_idx = state_end_idxs + bif_idx
37-
# Gets the (base) substitution values for states.
37+
# Gets the (base) substitution values for states.
3838
subs_vals_states = Pair.(states(nsys), u0_vals)
39-
# Gets the (base) substitution values for parameters.
39+
# Gets the (base) substitution values for parameters.
4040
subs_vals_params = Pair.(parameters(nsys), p_vals)
41-
# Gets the (base) substitution values for observables.
41+
# Gets the (base) substitution values for observables.
4242
subs_vals_obs = [obs.lhs => substitute(obs.rhs,
4343
[subs_vals_states; subs_vals_params]) for obs in observed(nsys)]
4444
# Sometimes observables depend on other observables, hence we make a second update to this vector.
@@ -136,7 +136,7 @@ function BifurcationKit.BifurcationProblem(osys::ODESystem, args...; kwargs...)
136136
nsys = NonlinearSystem([0 ~ eq.rhs for eq in equations(osys)],
137137
states(osys),
138138
parameters(osys);
139-
name = osys.name)
139+
name = nameof(osys))
140140
return BifurcationKit.BifurcationProblem(nsys, args...; kwargs...)
141141
end
142142

0 commit comments

Comments
 (0)