Skip to content

Commit 6738b03

Browse files
TorkelEisaacsas
andauthored
Update docs/src/catalyst_applications/nonlinear_solve.md
Co-authored-by: Sam Isaacson <[email protected]>
1 parent 93082f7 commit 6738b03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/catalyst_applications/nonlinear_solve.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ u_guess = [:X1 => 3.0, :X2 => 1.0]
7878
nl_prob = NonlinearProblem(two_state_model, u_guess, p; remove_conserved = true)
7979
nothing # hide
8080
```
81-
here it is important that the quantities used in `u_guess` correspond to the conserved quantities we wish to use. E.g. here the conserved quantity $X1 + X2= 3.0 + 1.0 = 4$ holds in the input, and will hence do in the output as well. We can now find the steady states using `solve` like before:
81+
here it is important that the quantities used in `u_guess` correspond to the conserved quantities we wish to use. E.g. here the conserved quantity $X1 + X2= 3.0 + 1.0 = 4$ holds for the initial condition, and will hence also hold in the calculated steady-state as well. We can now find the steady states using `solve` like before:
8282
```@example nonlinear_solve2
8383
sol = solve(nl_prob)
8484
```

0 commit comments

Comments
 (0)