Suppress unused variable compiler warning in sparse subtest 3.

This commit is contained in:
Rasmus Munk Larsen 2018-10-12 13:41:57 -07:00
parent 24dc076519
commit 0ed811a9c1

View File

@ -643,6 +643,7 @@ template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& re
template<typename SparseMatrixType>
void big_sparse_triplet(Index rows, Index cols, double density) {
g_dense_op_sparse_count = 0; // Suppresses compiler warning.
typedef typename SparseMatrixType::StorageIndex StorageIndex;
typedef typename SparseMatrixType::Scalar Scalar;
typedef Triplet<Scalar,Index> TripletType;