Fix unit-test which I broke in previous fix
This commit is contained in:
parent
7a65219a2e
commit
6965f6de7f
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user