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 a86e1d1 commit 443a1b6Copy full SHA for 443a1b6
stdlib/LinearAlgebra/src/generic.jl
@@ -1724,7 +1724,7 @@ function normalize!(a::AbstractArray, p::Real=2)
1724
__normalize!(a, nrm)
1725
end
1726
1727
-@inline function __normalize!(a::AbstractArray, nrm::AbstractFloat)
+@inline function __normalize!(a::AbstractArray, nrm::Real)
1728
# The largest positive floating point number whose inverse is less than infinity
1729
δ = inv(prevfloat(typemax(nrm)))
1730
0 commit comments