GenericSVD.jl icon indicating copy to clipboard operation
GenericSVD.jl copied to clipboard

Missing broadcast in case of NaN

Open Joel-Dahne opened this issue 6 years ago • 0 comments

One of the cases for handling matrices containing NaN is broken

https://github.com/JuliaLinearAlgebra/GenericSVD.jl/blob/07156afd31346a7245cd08585d67d853d6a952c8/src/GenericSVD.jl#L157-L163

The return B.dv+NaN should be changed to return B.dv .+ NaN.

Joel-Dahne avatar Dec 31 '19 10:12 Joel-Dahne