Skip to content

Commit ca15839

Browse files
committed
Run formatter
1 parent 3db75f0 commit ca15839

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/src/basics/faq.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,17 @@ computation and the type of this chunksize can't be statically inferred. To fix
138138
directly specify the chunksize:
139139

140140
```@example type_unstable
141-
@code_warntype solve(prob, NewtonRaphson(;
142-
autodiff = AutoForwardDiff(; chunksize = NonlinearSolve.pickchunksize(prob.u0))))
141+
@code_warntype solve(prob,
142+
NewtonRaphson(;
143+
autodiff = AutoForwardDiff(; chunksize = NonlinearSolve.pickchunksize(prob.u0))))
143144
nothing # hide
144145
```
145146

146147
And boom! Type stable again. We always recommend picking the chunksize via
147148
[`NonlinearSolve.pickchunksize`](@ref), however, if you manually specify the chunksize, it
148149
must be `≤ length of input`. However, a very large chunksize can lead to excessive
149150
compilation times and slowdown.
151+
152+
```@docs
153+
NonlinearSolve.pickchunksize
154+
```

docs/src/native/simplenonlinearsolve.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ These methods are suited for any general nonlinear root-finding problem, i.e.
2929
|:------------------------------------ |:-------- |:------------ |:------------------------ |:------------------------- |
3030
| [`SimpleNewtonRaphson`](@ref) | ✔️ | ✔️ | ✔️ | ✔️ |
3131
| [`SimpleBroyden`](@ref) | ✔️ | ✔️ | ✔️ | ✔️ |
32-
| [`SimpleHalley`](@ref) || ✔️ | ✔️ ||
32+
| [`SimpleHalley`](@ref) | | ✔️ | ✔️ ||
3333
| [`SimpleKlement`](@ref) | ✔️ | ✔️ | ✔️ | ✔️ |
3434
| [`SimpleTrustRegion`](@ref) | ✔️ | ✔️ | ✔️ | ✔️ |
3535
| [`SimpleDFSane`](@ref) | ✔️ | ✔️ | ✔️[^1] | ✔️ |

0 commit comments

Comments
 (0)