Eigen/Sparse: fix warnings -Wunused-but-set-variable

(cherry picked from commit 7846c7387c)
This commit is contained in:
Laurent Rineau
2022-10-11 17:37:04 +00:00
committed by Antonio Sanchez
parent 3fbb1c1b48
commit af6e7cc66a
2 changed files with 2 additions and 7 deletions

View File

@@ -270,11 +270,11 @@ struct sparse_solve_triangular_sparse_selector<Lhs,Rhs,Mode,UpLo,ColMajor>
}
Index count = 0;
// Index count = 0;
// FIXME compute a reference value to filter zeros
for (typename AmbiVector<Scalar,StorageIndex>::Iterator it(tempVector/*,1e-12*/); it; ++it)
{
++ count;
// ++ count;
// std::cerr << "fill " << it.index() << ", " << col << "\n";
// std::cout << it.value() << " ";
// FIXME use insertBack