From 7e9b9630faa4ff3a8d34d2789829b4bfa7f5c89e Mon Sep 17 00:00:00 2001 From: Nathanael Bosch Date: Fri, 17 Nov 2023 10:26:27 +0100 Subject: [PATCH] Fix some incremental compilation error (#274) --- src/initialization/common.jl | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/initialization/common.jl b/src/initialization/common.jl index ed8d5accf..78338b3b0 100644 --- a/src/initialization/common.jl +++ b/src/initialization/common.jl @@ -88,14 +88,11 @@ optionally the second derivative can also be set via automatic differentiation b * [kraemer20stableimplementation](@cite) Krämer et al, "Stable Implementation of Probabilistic ODE Solvers" (2020) * [schober16probivp](@cite) Schober et al, "A probabilistic model for the numerical solution of initial value problems", Statistics and Computing (2019) """ -struct ClassicSolverInit{ALG} <: InitializationScheme - alg::ALG - init_on_ddu::Bool +Base.@kwdef struct ClassicSolverInit{ALG} <: InitializationScheme + alg::ALG = AutoVern7(Rodas4()) + init_on_ddu::Bool = false end -ClassicSolverInit(alg::DiffEqBase.AbstractODEAlgorithm=AutoVern7(Rodas4())) = - ClassicSolverInit(; alg, init_on_ddu=false) -ClassicSolverInit(; alg=AutoVern7(Rodas4()), init_on_ddu=false) = - ClassicSolverInit(alg, init_on_ddu) +ClassicSolverInit(alg::DiffEqBase.AbstractODEAlgorithm) = ClassicSolverInit(; alg) """ initial_update!(integ, cache[, init::InitializationScheme])