Skip to content

Commit

Permalink
refactor(examples): use rectangular rule for Lorenz
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl committed Oct 9, 2023
1 parent 6d46143 commit b5124d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fractional-lorenz.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def lorenz_jac(t: float, y: Array, *, sigma: float, rho: float, beta: float) ->
source=partial(lorenz, sigma=sigma, rho=rho, beta=beta),
source_jac=partial(lorenz_jac, sigma=sigma, rho=rho, beta=beta),
y0=(y0,),
theta=1.0,
theta=0.5,
)

from pycaputo.fode import StepCompleted, evolve
Expand Down

0 comments on commit b5124d5

Please sign in to comment.