Skip to content

Commit 71c4621

Browse files
authored
Merge pull request #168 from JuliaGPU/tb/eye
Avoid deprecated usage of FillArrays.Eye.
2 parents e155e6b + d7fb3f0 commit 71c4621

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
julia 1.0
22
StaticArrays
33
FFTW
4-
FillArrays
4+
FillArrays 0.3

src/testsuite/construction.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ function iterator_constructors(AT)
151151
if T <: Real
152152
x = AT{Float32}(Fill(T(0), (10, 10)))
153153
@test eltype(x) == Float32
154-
@test AT(Eye{T}((10, 10))) == AT{T}(I, 10, 10)
155-
x = AT{Float32}(Eye{T}((10, 10)))
154+
@test AT(Eye{T}((10))) == AT{T}(I, 10, 10)
155+
x = AT{Float32}(Eye{T}((10)))
156156
@test eltype(x) == Float32
157157
end
158158
end

0 commit comments

Comments
 (0)