Skip to content

Commit

Permalink
Fix docstrings escape syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed May 15, 2024
1 parent 23017f9 commit e7c188a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/solvers/dasp3.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class DASP3ODE(Explicit_ODE):
.. math::
\\frac{\mathrm{d}y}{\mathrm{d}t} &= f(t,y,z) \;\;\; \\text{(N equations)} \\\\
\\varepsilon\\frac{\mathrm{d}z}{\mathrm{d}t} &= G(t,y,z)\;\;\; \\text{(M equations)}
\\frac{\\mathrm{d}y}{\\mathrm{d}t} &= f(t,y,z) \\;\\;\\; \\text{(N equations)} \\\\
\\varepsilon\\frac{\\mathrm{d}z}{\\mathrm{d}t} &= G(t,y,z)\\;\\;\\; \\text{(M equations)}
If is assumed that the first system is non-stiff and that
the stiffness of the second system is due to the parameter
Expand Down
2 changes: 1 addition & 1 deletion src/solvers/odepack.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class LSODAR(Explicit_ODE):
.. math::
\dot{y} = f(t,y), \quad y(t_0) = y_0.
\\dot{y} = f(t,y), \\quad y(t_0) = y_0.
LSODAR automatically switches between using an ADAMS method
or an BDF method and is also able to monitor events.
Expand Down
2 changes: 1 addition & 1 deletion src/solvers/runge_kutta.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ class RungeKutta4(Explicit_ODE):
.. math::
\dot{y} = f(t,y), \quad y(t_0) = y_0 .
\\dot{y} = f(t,y), \\quad y(t_0) = y_0 .
Using a Runge-Kutta method of order 4, the approximation is defined as
follow,
Expand Down

0 comments on commit e7c188a

Please sign in to comment.