Skip to content

Commit 79fb99b

Browse files
committed
Add backticks
1 parent ee322af commit 79fb99b

File tree

6 files changed

+25
-25
lines changed

6 files changed

+25
-25
lines changed

docs/src/interfaces/Init_Solve.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ is distinctly different from the
3737
[LinearSolve init interface](https://docs.sciml.ai/LinearSolve/stable/tutorials/caching_interface)
3838
which is designed for caching efficiency with reusing factorizations.
3939

40-
## __solve and High-Level Handling
40+
## `__solve` and High-Level Handling
4141

4242
While `init` and `solve` are the common entry point for users, solver packages will
4343
mostly define dispatches on `SciMLBase.__init` and `SciMLBase.__solve`. The reason is

docs/src/interfaces/Problems.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ usage, a `AbstractSciMLProblem` might be associated with some solver configurati
8686
callback or tolerance. Thus, for flexibility the extra keyword arguments to the
8787
`AbstractSciMLProblem` are carried to the solver.
8888

89-
### problem_type
89+
### `problem_type`
9090

9191
`AbstractSciMLProblem` types include a non-public API definition of `problem_type` which holds
9292
a trait type corresponding to the way the `AbstractSciMLProblem` was constructed. For example,

docs/src/interfaces/SciMLFunctions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ on setting up time/parameter dependent operators.
9494
The solver libraries internally use packages such as [FiniteDiff.jl](https://docs.sciml.ai/FiniteDiff/stable/)
9595
and [SparseDiffTools.jl](https://docs.sciml.ai/SparseDiffTools/stable/) for
9696
high performance calculation of sparse Jacobians and Hessians, along with matrix-free
97-
calculations of Jacobian-Vector products (J*v), vector-Jacobian products (v'*J),
98-
and Hessian-vector products (H*v). The SciML interface gives users the ability
97+
calculations of Jacobian-Vector products (`J*v`), vector-Jacobian products (`v'*J`),
98+
and Hessian-vector products (`H*v`). The SciML interface gives users the ability
9999
to control these connections in order to allow for top notch performance.
100100

101101
The key arguments in the SciMLFunction is the `prototype`, which is an object

src/SciMLBase.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ abstract type AbstractOptimizationCache end
100100
"""
101101
$(TYPEDEF)
102102
103-
Base for types which define nonlinear solve problems (f(u)=0).
103+
Base for types which define nonlinear solve problems (`f(u)=0`).
104104
"""
105105
abstract type AbstractNonlinearProblem{uType, isinplace} <: AbstractDEProblem end
106106
abstract type AbstractIntervalNonlinearProblem{uType, isinplace} <:

src/alg_traits.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ requireshessian(opt) = false
142142
requiresconsjac(opt)
143143
144144
Trait declaration for whether an optimizer
145-
requires cons_j in `instantiate_function`, that is, does the optimizer require a constant Jacobian.
145+
requires `cons_j` in `instantiate_function`, that is, does the optimizer require a constant Jacobian.
146146
147147
Defaults to false.
148148
"""

src/retcodes.jl

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ EnumX.@enumx ReturnCode begin
4949
5050
## Properties
5151
52-
- successful_retcode = false
52+
- `successful_retcode` = `false`
5353
"""
5454
Default
5555

@@ -66,7 +66,7 @@ EnumX.@enumx ReturnCode begin
6666
6767
## Properties
6868
69-
- successful_retcode = true
69+
- `successful_retcode` = `true`
7070
"""
7171
Success
7272

@@ -90,7 +90,7 @@ EnumX.@enumx ReturnCode begin
9090
9191
## Properties
9292
93-
- successful_retcode = true
93+
- `successful_retcode` = `true`
9494
"""
9595
Terminated
9696

@@ -113,7 +113,7 @@ EnumX.@enumx ReturnCode begin
113113
114114
## Properties
115115
116-
- successful_retcode = false
116+
- `successful_retcode` = `false`
117117
"""
118118
DtNaN
119119

@@ -145,7 +145,7 @@ EnumX.@enumx ReturnCode begin
145145
146146
## Properties
147147
148-
- successful_retcode = false
148+
- `successful_retcode` = `false`
149149
"""
150150
MaxIters
151151

@@ -175,7 +175,7 @@ EnumX.@enumx ReturnCode begin
175175
176176
## Properties
177177
178-
- successful_retcode = false
178+
- `successful_retcode` = `false`
179179
"""
180180
DtLessThanMin
181181

@@ -194,7 +194,7 @@ EnumX.@enumx ReturnCode begin
194194
195195
## Properties
196196
197-
- successful_retcode = false
197+
- `successful_retcode` = `false`
198198
"""
199199
Unstable
200200

@@ -219,7 +219,7 @@ EnumX.@enumx ReturnCode begin
219219
220220
## Properties
221221
222-
- successful_retcode = false
222+
- `successful_retcode` = `false`
223223
"""
224224
InitialFailure
225225

@@ -242,7 +242,7 @@ EnumX.@enumx ReturnCode begin
242242
243243
## Properties
244244
245-
- successful_retcode = false
245+
- `successful_retcode` = `false`
246246
"""
247247
ConvergenceFailure
248248

@@ -260,7 +260,7 @@ EnumX.@enumx ReturnCode begin
260260
261261
## Properties
262262
263-
- successful_retcode = false
263+
- `successful_retcode` = `false`
264264
"""
265265
Failure
266266

@@ -279,7 +279,7 @@ EnumX.@enumx ReturnCode begin
279279
280280
## Properties
281281
282-
- successful_retcode = true
282+
- `successful_retcode` = `true`
283283
"""
284284
ExactSolutionLeft
285285

@@ -298,7 +298,7 @@ EnumX.@enumx ReturnCode begin
298298
299299
## Properties
300300
301-
- successful_retcode = true
301+
- `successful_retcode` = `true`
302302
"""
303303
ExactSolutionRight
304304

@@ -317,7 +317,7 @@ EnumX.@enumx ReturnCode begin
317317
318318
## Properties
319319
320-
- successful_retcode = true
320+
- `successful_retcode` = `true`
321321
"""
322322
FloatingPointLimit
323323

@@ -328,7 +328,7 @@ EnumX.@enumx ReturnCode begin
328328
329329
## Properties
330330
331-
- successful_retcode = false
331+
- `successful_retcode` = `false`
332332
"""
333333
Infeasible
334334

@@ -342,7 +342,7 @@ EnumX.@enumx ReturnCode begin
342342
343343
## Properties
344344
345-
- successful_retcode = false
345+
- `successful_retcode` = `false`
346346
"""
347347
MaxTime
348348

@@ -353,7 +353,7 @@ EnumX.@enumx ReturnCode begin
353353
354354
## Properties
355355
356-
- successful_retcode = false
356+
- `successful_retcode` = `false`
357357
"""
358358
InternalLineSearchFailed
359359

@@ -364,7 +364,7 @@ EnumX.@enumx ReturnCode begin
364364
365365
## Properties
366366
367-
- successful_retcode = false
367+
- `successful_retcode` = `false`
368368
"""
369369
ShrinkThresholdExceeded
370370

@@ -377,7 +377,7 @@ EnumX.@enumx ReturnCode begin
377377
378378
## Properties
379379
380-
- successful_retcode = false
380+
- `successful_retcode` = `false`
381381
"""
382382
Stalled
383383

@@ -394,7 +394,7 @@ EnumX.@enumx ReturnCode begin
394394
395395
## Properties
396396
397-
- successful_retcode = false
397+
- `successful_retcode` = `false`
398398
"""
399399
InternalLinearSolveFailed
400400
end

0 commit comments

Comments
 (0)