Skip to content

Commit 45747a1

Browse files
committed
update test
1 parent e4a95d1 commit 45747a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/linalg/diagonal.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ end
312312
end
313313

314314
# allow construct from range
315-
@test Diagonal(linspace(1,3,3)) Diagonal([1.,2.,3.])
315+
@test all(Diagonal(linspace(1,3,3)) .== Diagonal([1.0,2.0,3.0]))
316316

317317
# Issue 12803
318318
for t in (Float32, Float64, Int, Complex{Float64}, Rational{Int})

0 commit comments

Comments
 (0)