From 0ed811a9c1e663a1125adbe1d5ce8c19491928ac Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Fri, 12 Oct 2018 13:41:57 -0700 Subject: [PATCH] Suppress unused variable compiler warning in sparse subtest 3. --- test/sparse_basic.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/sparse_basic.cpp b/test/sparse_basic.cpp index e26febe0e..87e171aeb 100644 --- a/test/sparse_basic.cpp +++ b/test/sparse_basic.cpp @@ -643,6 +643,7 @@ template void sparse_basic(const SparseMatrixType& re template 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 TripletType;