Skip to content

Commit 0d12ce2

Browse files
authored
doc code bug fix
1 parent 2960221 commit 0d12ce2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/steady_state_functionality/examples/nullcline_plotting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Finally, for out nullcline equations, we can use BifurcationKit's `continuation`
6969
using BifurcationKit
7070
span = (0.0, 1.2)
7171
function compute_nullcline(nc_sys)
72-
bprob = BifurcationProblem(nc_sys, [Y => 1.0], [ps; Xval => 0.1], Xval)
72+
bprob = BifurcationProblem(nc_sys, [Y => 1.0], [ps; Xpar => 0.1], Xpar)
7373
opts_br = ContinuationPar(p_min = span[1], p_max = span[2], dsmax = 0.01)
7474
return continuation(bprob, PALC(), opts_br; bothside = true)
7575
end
@@ -120,4 +120,4 @@ arrow_positions = [(0.25, 0.25), (0.75, 0.75), (0.35, 0.8), (0.8, 0.35), (0.02,
120120
foreach(pos -> plot_xy_arrow!(pos...), arrow_positions)
121121
plot!()
122122
```
123-
This also works as a form of simple stability analysis, where we can see how the solution moves *away* from the unstable steady state, and *to* the stable ones.
123+
This also works as a form of simple stability analysis, where we can see how the solution moves *away* from the unstable steady state, and *to* the stable ones.

0 commit comments

Comments
 (0)