From dd9f865281767c75bd1c5d65744ff8ae9a78ba47 Mon Sep 17 00:00:00 2001 From: Lukas Cejka <lukas.ostatek@gmail.com> Date: Wed, 21 Nov 2018 17:44:25 +0100 Subject: [PATCH] Fixed error where RealType was being used instead of IndexType. --- src/UnitTests/Matrices/SparseMatrixTest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UnitTests/Matrices/SparseMatrixTest.h b/src/UnitTests/Matrices/SparseMatrixTest.h index 47e6f89b5c..f44a465225 100644 --- a/src/UnitTests/Matrices/SparseMatrixTest.h +++ b/src/UnitTests/Matrices/SparseMatrixTest.h @@ -147,7 +147,7 @@ void test_SetCompressedRowLengths() rowLengths.setSize( rows ); rowLengths.setValue( 3 ); - RealType value = 1; + IndexType value = 1; for( IndexType i = 2; i < rows; i++ ) rowLengths.setElement( i, value++ ); -- GitLab