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 84ae7a2 commit 6d93a53Copy full SHA for 6d93a53
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