Skip to content

Commit a7d7e79

Browse files
committed
Fix MaybeCuArray definition
1 parent f6155ba commit a7d7e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/DynamicExpressionsCUDAExt.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Base.setindex!(x::FakeCuArray, v, i::Int...) = setindex!(x.a, v, i...)
1717
Base.size(x::FakeCuArray) = size(x.a)
1818
Base.Array(x::FakeCuArray) = Array(x.a)
1919

20-
const MaybeCuArray{T,N} = Union{CuArray{T,2},FakeCuArray{T,N}}
20+
const MaybeCuArray{T,N} = Union{CuArray{T,N},FakeCuArray{T,N}}
2121

2222
to_device(a, ::CuArray) = CuArray(a)
2323
to_device(a, ::FakeCuArray) = FakeCuArray(a)

0 commit comments

Comments
 (0)