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 8c3e66f commit 1ecc8d0Copy full SHA for 1ecc8d0
src/auxiliary/linalg.jl
@@ -46,5 +46,3 @@ Base.adjoint(alg::Union{SVD,SDD,Polar}) = alg
46
const OFA = OrthogonalFactorizationAlgorithm
47
const SVDAlg = Union{SVD,SDD}
48
49
-safesign(s::Real) = ifelse(s < zero(s), -one(s), +one(s))
50
-safesign(s::Complex) = ifelse(iszero(s), one(s), s / abs(s))
0 commit comments