Removed weird self assignment.

This commit is contained in:
Christoph Hertzberg 2014-10-24 13:19:19 +02:00
parent 04ffb9956e
commit 1fa793cb97
2 changed files with 1 additions and 3 deletions

View File

@ -824,7 +824,7 @@ void BDCSVD<MatrixType>::perturbCol0
zhat.setZero();
return;
}
Index last = last = perm(m-1);
Index last = perm(m-1);
// The offset permits to skip deflated entries while computing zhat
for (Index k = 0; k < n; ++k)
{

View File

@ -90,8 +90,6 @@ void test_bdcsvd()
CALL_SUBTEST_10(( compare_bdc_jacobi(MatrixXd(r,c)) ));
CALL_SUBTEST_8(( bdcsvd(MatrixXcd(r,c)) ));
CALL_SUBTEST_8(( compare_bdc_jacobi(MatrixXcd(r,c)) ));
(void) r;
(void) c;
// Test on inf/nan matrix
CALL_SUBTEST_7( (svd_inf_nan<BDCSVD<MatrixXf>, MatrixXf>()) );