Fix nullptr dereference in SVD.

If the bidiagonal is only have size 1, then the upper-diagonal may be empty, resulting in a nullptr dereference when calling &coeffRef(0). Here we explicitly check before doing so, return nullptr explicitly if the upper-diagonal is empty.

Merge request reports

Loading