Fix warning typedef XXX locally defined but not used

This commit is contained in:
Gael Guennebaud
2013-06-21 09:27:38 +02:00
parent 7adfca5af2
commit cf5c5ed725
6 changed files with 4 additions and 17 deletions

View File

@@ -17,7 +17,6 @@
template<typename SetterType,typename DenseType, typename Scalar, int Options>
bool test_random_setter(SparseMatrix<Scalar,Options>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords)
{
typedef SparseMatrix<Scalar,Options> SparseType;
{
sm.setZero();
SetterType w(sm);