You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like you are using norm(matrix). In Julia 0.7, this will compute the Frobenius norm (vecnorm in Julia 0.6), due to JuliaLang/julia#27401. If you want the induced/operator norm as in Julia 0.6, use opnorm(matrix) instead, or Compat.opnorm(matrix) to work in 0.6 and 0.7 (JuliaLang/Compat.jl#577).
Note that, for testing purposes, rather than @test norm(A - B) ≤ tol, it is usually preferred to do @test A ≈ B or @test A ≈ B rtol=... (which uses isapprox).
The text was updated successfully, but these errors were encountered:
It looks like you are using
norm(matrix)
. In Julia 0.7, this will compute the Frobenius norm (vecnorm
in Julia 0.6), due to JuliaLang/julia#27401. If you want the induced/operator norm as in Julia 0.6, useopnorm(matrix)
instead, orCompat.opnorm(matrix)
to work in 0.6 and 0.7 (JuliaLang/Compat.jl#577).Note that, for testing purposes, rather than
@test norm(A - B) ≤ tol
, it is usually preferred to do@test A ≈ B
or@test A ≈ B rtol=...
(which usesisapprox
).The text was updated successfully, but these errors were encountered: