From dd16264093111a61a7c4e600ff23a122be3bb6a7 Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Fri, 13 Dec 2024 13:03:34 +0530 Subject: [PATCH] fix: handle `cache` kwarg of `SplitFunction`/`DynamicalSDEFunction` in `remake` --- src/remake.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/remake.jl b/src/remake.jl index 46cbc7765..76876d514 100644 --- a/src/remake.jl +++ b/src/remake.jl @@ -164,6 +164,9 @@ function remake( props = @delete props.f props = @delete props.f1 + # for DynamicalSDEFunction and SplitFunction + props = @delete props.cache + if is_split_function(T) f = f isa AbstractSciMLOperator ? f : split_function_f_wrapper(T){iip, spec}(f) end