Skip to content

Commit f9a2ceb

Browse files
committed
More debugging output plz
1 parent 7c38f38 commit f9a2ceb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

base/linalg/generic.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,11 @@ end
558558
@inline function __normalize!{T}(v::AbstractVector{T}, nrm::T)
559559
#The largest positive floating point number whose inverse is less than
560560
#infinity
561-
const δ = inv(prevfloat(typemax(float(T))))
561+
@show T
562+
@show float(T)
563+
@show typemax(float(T))
564+
@show prevfloat(typemax(float(T)))
565+
@show const δ = inv(prevfloat(typemax(float(T))))
562566

563567
if nrm δ #Safe to multiply with inverse
564568
invnrm = inv(nrm)

0 commit comments

Comments
 (0)