Fix unit-test which I broke in previous fix

This commit is contained in:
Christoph Hertzberg 2019-12-19 13:42:14 +01:00
parent 7a65219a2e
commit 6965f6de7f

View File

@ -29,8 +29,10 @@ template<typename MatrixType>
void bdcsvd(const MatrixType& a = MatrixType(), bool pickrandom = true)
{
MatrixType m;
if(pickrandom)
if(pickrandom) {
m.resizeLike(a);
svd_fill_random(m);
}
else
m = a;