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

This commit is contained in:
Laurent Rineau
2022-10-11 17:37:04 +00:00
committed by Rasmus Munk Larsen
parent 3167544873
commit 7846c7387c
2 changed files with 2 additions and 7 deletions

View File

@@ -272,11 +272,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