Skip to content

Commit 15db51e

Browse files
allow to process caches as well
1 parent 8cda13e commit 15db51e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/variables.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ Intercept the call to `process_p_u0_symbolic` and process symbolic maps of `p` a
126126
user has `ModelingToolkit` loaded.
127127
"""
128128
function SciMLBase.process_p_u0_symbolic(prob::Union{SciMLBase.AbstractDEProblem,
129-
NonlinearProblem, OptimizationProblem},
129+
NonlinearProblem, OptimizationProblem,
130+
SciMLBase.AbstractOptimizationCache},
130131
p,
131132
u0)
132133
# check if a symbolic remake is possible

0 commit comments

Comments
 (0)