JacobiSVD: set m_nonzeroSingularValues to zero if not finite
Reference issue
Fixes #2650 (closed)
What does this implement/fix?
Sets m_nonzeroSingularValues = 0
when invalid input is detected. This will cause rank()
to return 0 and prevent crashes.