We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd966eb commit 23a5c1aCopy full SHA for 23a5c1a
stdlib/LinearAlgebra/test/diagonal.jl
@@ -516,7 +516,7 @@ end
516
D = Diagonal([[1 2; 3 4], [5 6; 7 8]])
517
A = [1 2 0 0; 3 4 0 0; 0 0 5 6; 0 0 7 8] # full matrix of D
518
@test opnorm(D, 1) == opnorm(A, 1)
519
- @test opnorm(D, 2) == opnorm(A, 2)
+ @test opnorm(D, 2) ≈ opnorm(A, 2)
520
@test opnorm(D, Inf) == opnorm(A, Inf)
521
end
522
0 commit comments