Skip to content

Commit 956aaa5

Browse files
chore: try to catch ODESolutions
1 parent 2ed1893 commit 956aaa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/RecursiveArrayToolsZygoteExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function vofa_u_adjoint(d, A::RecursiveArrayTools.VectorOfArray)
115115
VectorOfArray(m)
116116
end
117117

118-
function vofa_u_adjoint(d, A::RecursiveArrayTools.DiffEqArray)
118+
function vofa_u_adjoint(d, A::RecursiveArrayTools.AbstractDiffEqArray)
119119
m = map(enumerate(d)) do (idx, d_i)
120120
isnothing(d_i) && return zero(A.u[idx])
121121
d_i

0 commit comments

Comments
 (0)