Skip to content

Commit 7bf9fa8

Browse files
committed
make hermitian tolerances relative
1 parent 12bd681 commit 7bf9fa8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/common/defaults.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,4 @@ default_pullback_rank_atol(A) = eps(norm(A, Inf))^(3 / 4)
3737
3838
Default tolerance for deciding to warn if the provided `A` is not hermitian.
3939
"""
40-
function default_hermitian_tol(A)
41-
n = norm(A, Inf)
42-
return eps(eltype(n))^(3 / 4) * max(n, one(n))
43-
end
40+
default_hermitian_tol(A) = eps(norm(A, Inf))^(3 / 4)

0 commit comments

Comments
 (0)