Skip to content
This repository was archived by the owner on Apr 26, 2021. It is now read-only.

Missing broadcast in case of NaN #21

@Joel-Dahne

Description

@Joel-Dahne

One of the cases for handling matrices containing NaN is broken

if !all(isfinite.(B))
if U === nothing
return B.dv+NaN
else
return SVD(U .+ NaN, B.dv .+ NaN, Vt .+ NaN)
end
end

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions