From 8cbb7aa7d70a7fe0b499dbe2ca2c3b1dbb32d727 Mon Sep 17 00:00:00 2001 From: gereon Date: Thu, 6 Dec 2012 21:37:56 +0100 Subject: [PATCH] fixing toEigen conversion, making test case working :-) --- src/storage/SquareSparseMatrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/SquareSparseMatrix.h b/src/storage/SquareSparseMatrix.h index 4e433816a..5f322de01 100644 --- a/src/storage/SquareSparseMatrix.h +++ b/src/storage/SquareSparseMatrix.h @@ -517,7 +517,7 @@ public: // Then add the elements on the diagonal. for (uint_fast64_t i = 0; i < rowCount; ++i) { if (diagonalStorage[i] == 0) zeroCount++; - // tripletList.push_back(IntTriplet(i, i, diagonalStorage[i])); + tripletList.push_back(IntTriplet(i, i, diagonalStorage[i])); } // Let Eigen create a matrix from the given list of triplets.