Skip to content

Commit c219343

Browse files
refactor: format
1 parent 677bc55 commit c219343

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

src/integrator_interface.jl

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -331,19 +331,22 @@ Otherwise the integrator is allowed to skip recalculating the interpolation.
331331
332332
# Arguments
333333
334-
- `continuous_modification`: determines whether the modification is due to a continuous change (continuous callback)
335-
or a discrete callback. For a continuous change, this can include a change to time which requires a re-evaluation
336-
of the interpolations.
337-
- `callback_initializealg`: the initialization algorithm provided by the callback. For DAEs, this is the choice for the
338-
initialization that is done post callback. The default value of `nothing` means that the initialization choice
339-
used for the DAE should be performed post-callback.
334+
- `continuous_modification`: determines whether the modification is due to a continuous change (continuous callback)
335+
or a discrete callback. For a continuous change, this can include a change to time which requires a re-evaluation
336+
of the interpolations.
337+
- `callback_initializealg`: the initialization algorithm provided by the callback. For DAEs, this is the choice for the
338+
initialization that is done post callback. The default value of `nothing` means that the initialization choice
339+
used for the DAE should be performed post-callback.
340340
"""
341341
function reeval_internals_due_to_modification!(
342342
integrator::DEIntegrator, continuous_modification;
343343
callback_initializealg = nothing)
344344
reeval_internals_due_to_modification!(integrator::DEIntegrator)
345345
end
346-
reeval_internals_due_to_modification!(integrator::DEIntegrator; callback_initializealg = nothing) = nothing
346+
function reeval_internals_due_to_modification!(
347+
integrator::DEIntegrator; callback_initializealg = nothing)
348+
nothing
349+
end
347350

348351
"""
349352
set_t!(integrator::DEIntegrator, t)

src/scimlfunctions.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2693,8 +2693,8 @@ function SplitFunction{iip, specialize}(f1, f2;
26932693
f1.jac_prototype :
26942694
nothing,
26952695
W_prototype = __has_W_prototype(f1) ?
2696-
f1.W_prototype :
2697-
nothing,
2696+
f1.W_prototype :
2697+
nothing,
26982698
sparsity = __has_sparsity(f1) ? f1.sparsity :
26992699
jac_prototype,
27002700
Wfact = __has_Wfact(f1) ? f1.Wfact : nothing,

0 commit comments

Comments
 (0)