Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/OrdinaryDiffEqBDF/test/inference_tests.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
using OrdinaryDiffEqBDF, ADTypes, Test
using OrdinaryDiffEqNonlinearSolve: NonlinearSolveAlg
using NonlinearSolve: TrustRegion
import OrdinaryDiffEqCore.SciMLLogging as SciMLLogging
using OrdinaryDiffEqCore: DEVerbosity

prob = ODEProblem((du, u, p, t) -> du .= u, zeros(1), (0.0, 1.0))
nlalg = FBDF(
autodiff = AutoFiniteDiff(),
nlsolve = OrdinaryDiffEqBDF.NonlinearSolveAlg(TrustRegion(autodiff = AutoFiniteDiff()))
nlsolve = NonlinearSolveAlg(TrustRegion(autodiff = AutoFiniteDiff()))
)
basicalg = FBDF(autodiff = AutoFiniteDiff())
basicalgad = FBDF()
Expand Down
4 changes: 2 additions & 2 deletions lib/OrdinaryDiffEqDifferentiation/src/derivative_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ function _rosenbrock_jac_reuse_decision(integrator, cache, dtgamma)
# constraint derivatives must remain accurate. See Steinebach (2024).
naccept = integrator.stats.naccept
if integrator.f.mass_matrix !== I
if naccept > jac_reuse.last_naccept
jac_reuse.last_naccept = naccept
if naccept > jac_reuse.last_naccept
jac_reuse.last_naccept = naccept
return (true, true)
else
return (false, true)
Expand Down
2 changes: 1 addition & 1 deletion lib/OrdinaryDiffEqFIRK/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Polyester = "0.7"
DiffEqBase = "7"
Reexport = "1.2.2"
SafeTestsets = "0.1.0"
SciMLOperators = "1.15.0"
SciMLOperators = "1.23"

[targets]
test = ["DiffEqDevTools", "GenericSchur", "Random", "SafeTestsets", "Test", "ODEProblemLibrary", "Pkg"]
Expand Down
1 change: 1 addition & 0 deletions lib/StochasticDiffEqCore/src/StochasticDiffEqCore.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ using SparseArrays: SparseArrays, issparse
# DEVerbosity is owned (and made public) by DiffEqBase but also re-exported
# through OrdinaryDiffEqCore; import it from the owner.
using DiffEqBase: DEVerbosity
using SciMLLogging: AbstractVerbosityPreset, Standard

using LinearAlgebra: LinearAlgebra, I, mul!
using Random: Random
Expand Down
Loading