@@ -32,24 +32,9 @@ using OrdinaryDiffEqDifferentiation: TimeDerivativeWrapper, TimeGradientWrapper,
3232 wrapprecs, calc_tderivative, build_grad_config,
3333 build_jac_config, issuccess_W, jacobian2W!,
3434 resize_jac_config!, resize_grad_config!,
35- calc_W, calc_rosenbrock_differentiation!, build_J_W,
35+ calc_W, calc_rosenbrock_differentiation!, calc_rosenbrock_differentiation, build_J_W,
3636 UJacobianWrapper, dolinsolve, WOperator, resize_J_W!
3737
38- # Import the non-mutating calc_rosenbrock_differentiation if available (requires
39- # local-path OrdinaryDiffEqDifferentiation via [sources], supported on Julia 1.11+).
40- # On Julia 1.10 where [sources] is not supported, the registered version of
41- # OrdinaryDiffEqDifferentiation is used and won't have this function, so we
42- # provide a simple fallback that delegates to calc_tderivative + calc_W.
43- if isdefined (OrdinaryDiffEqDifferentiation, :calc_rosenbrock_differentiation )
44- using OrdinaryDiffEqDifferentiation: calc_rosenbrock_differentiation
45- else
46- function calc_rosenbrock_differentiation (integrator, cache, dtgamma, repeat_step)
47- dT = calc_tderivative (integrator, cache)
48- W = calc_W (integrator, cache, dtgamma, repeat_step)
49- return dT, W
50- end
51- end
52-
5338using Reexport
5439@reexport using SciMLBase
5540
0 commit comments