Skip to content

Commit 28dc96f

Browse files
Update init.jl
1 parent f545b99 commit 28dc96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function __init__()
1717
return CuArrays.CuArray(reshape(reduce(hcat,vecs),size(VA.u[1])...,length(VA.u)))
1818
end
1919
Base.convert(::Type{<:CuArrays.CuArray},VA::AbstractVectorOfArray) = CuArrays.CuArray(VA)
20-
@adjoint CuArray(xs::AbstractVectorOfArray) = CuArray(xs), ȳ -> (ȳ,)
20+
@adjoint CuArrays.CuArray(xs::AbstractVectorOfArray) = CuArrays.CuArray(xs), ȳ -> (ȳ,)
2121
end
2222

2323
@require Tracker="9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c" begin

0 commit comments

Comments
 (0)