Skip to content

Commit a2a0e41

Browse files
Update src/vector_of_array.jl
1 parent 1146cbe commit a2a0e41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vector_of_array.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function Adapt.adapt_structure(to, VA::AbstractVectorOfArray)
147147
end
148148

149149
function Adapt.adapt_structure(to, VA::AbstractDiffEqArray)
150-
DiffEqArray(Adapt.adapt.((to,), VA.u), Adapt.adapt((to,), VA.t))
150+
DiffEqArray(Adapt.adapt.((to,), VA.u), Adapt.adapt(to, VA.t))
151151
end
152152

153153
function VectorOfArray(vec::AbstractVector{T}, ::NTuple{N}) where {T, N}

0 commit comments

Comments
 (0)