Skip to content

Commit b03c9e3

Browse files
adrhillChrisRackauckas
authored andcommitted
Run JuliaFormatter
1 parent f88be85 commit b03c9e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/src/tutorials/advanced_ode_example.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ Note that you should only do this if the sparsity is high, for example, 0.1%
145145
of the matrix is non-zeros, otherwise the overhead of sparse matrices can be higher
146146
than the gains from sparse differentiation!
147147

148-
[ADTypes.jl](https://github.com/SciML/ADTypes.jl) provides a [common interface for automatic sparsity detection](https://sciml.github.io/ADTypes.jl/stable/#Sparsity-detector)
148+
[ADTypes.jl](https://github.com/SciML/ADTypes.jl) provides a [common interface for automatic sparsity detection](https://sciml.github.io/ADTypes.jl/stable/#Sparsity-detector)
149149
via its function `jacobian_sparsity`.
150-
This function can be called using sparsity detectors from [SparseConnectivityTracer.jl](https://github.com/adrhill/SparseConnectivityTracer.jl)
150+
This function can be called using sparsity detectors from [SparseConnectivityTracer.jl](https://github.com/adrhill/SparseConnectivityTracer.jl)
151151
or [Symbolics.jl](https://github.com/JuliaSymbolics/Symbolics.jl).
152152

153153
We can give an example `du` and `u` and call `jacobian_sparsity` on our function with the example arguments,
@@ -166,8 +166,8 @@ jac_sparsity = ADTypes.jacobian_sparsity(
166166
Using a different backend for sparsity detection just requires swapping out the detector,
167167
e.g. for Symbolics' [`SymbolicsSparsityDetector`](https://docs.sciml.ai/Symbolics/stable/manual/sparsity_detection/#Symbolics.SymbolicsSparsityDetector).
168168

169-
Notice that Julia gives a nice print out of the sparsity pattern.
170-
That's neat, and would be tedious to build by hand!
169+
Notice that Julia gives a nice print out of the sparsity pattern.
170+
That's neat, and would be tedious to build by hand!
171171
Now we just pass it to the `ODEFunction` like as before:
172172

173173
```@example stiff1

0 commit comments

Comments
 (0)