Skip to content

Commit e9f1c2d

Browse files
fix CuArrays restructure
1 parent f67d122 commit e9f1c2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ArrayInterface"
22
uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
3-
version = "2.8.1"
3+
version = "2.8.2"
44

55
[deps]
66
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

src/cuarrays.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ function Base.setindex(x::CuArrays.CuArray,v,i::Int)
88
_x
99
end
1010

11-
function restructure(x::CuArrays,y)
11+
function restructure(x::CuArrays.CuArrays,y)
1212
reshape(adapt(typeof(x),y),size(x)...)
1313
end

0 commit comments

Comments
 (0)