Skip to content

Commit

Permalink
fix: handle cache kwarg of SplitFunction/DynamicalSDEFunction i…
Browse files Browse the repository at this point in the history
…n `remake`
  • Loading branch information
AayushSabharwal committed Dec 13, 2024
1 parent 6c15292 commit dd16264
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/remake.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd16264

Please sign in to comment.