Skip to content

Commit 8cb6783

Browse files
Update large_systems.md
1 parent cecde6b commit 8cb6783

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/src/tutorials/large_systems.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ prob_brusselator_2d_autosparse = NLS.NonlinearProblem(
148148
)
149149
150150
BenchmarkTools.@btime NLS.solve(prob_brusselator_2d_autosparse,
151-
NLS.NewtonRaphson(; autodiff = AutoForwardDiff(; chunksize = 12)));
151+
NLS.NewtonRaphson(; autodiff = ADTypes.AutoForwardDiff(; chunksize = 12)));
152152
BenchmarkTools.@btime NLS.solve(prob_brusselator_2d_autosparse,
153-
NLS.NewtonRaphson(; autodiff = AutoForwardDiff(; chunksize = 12),
153+
NLS.NewtonRaphson(; autodiff = ADTypes.AutoForwardDiff(; chunksize = 12),
154154
linsolve = LS.KLUFactorization()));
155155
BenchmarkTools.@btime NLS.solve(prob_brusselator_2d_autosparse,
156-
NLS.NewtonRaphson(; autodiff = AutoForwardDiff(; chunksize = 12),
156+
NLS.NewtonRaphson(; autodiff = ADTypes.AutoForwardDiff(; chunksize = 12),
157157
linsolve = LS.KrylovJL_GMRES()));
158158
nothing # hide
159159
```
@@ -325,7 +325,7 @@ prob_brusselator_2d_exact_tracer = NLS.NonlinearProblem(
325325
u0, p; abstol = 1e-10, reltol = 1e-10)
326326
prob_brusselator_2d_approx_di = NLS.NonlinearProblem(
327327
NLS.NonlinearFunction(brusselator_2d_loop;
328-
sparsity = DifferentiationInterface.DenseSparsityDetector(DifferentiationInterface.AutoForwardDiff(); atol = 1e-4)),
328+
sparsity = DifferentiationInterface.DenseSparsityDetector(ADTypes.AutoForwardDiff(); atol = 1e-4)),
329329
u0, p; abstol = 1e-10, reltol = 1e-10)
330330
331331
BenchmarkTools.@btime NLS.solve(prob_brusselator_2d_exact_tracer, NLS.NewtonRaphson());

0 commit comments

Comments
 (0)