From cec2fd420ad0fd1a0335fcf3757b9500723acadf Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Fri, 7 Feb 2020 17:40:47 +0100 Subject: [PATCH] Fixed compiler warning --- src/test/storm/storage/SparseMatrixTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/storm/storage/SparseMatrixTest.cpp b/src/test/storm/storage/SparseMatrixTest.cpp index 6d0ea4480..38566112d 100644 --- a/src/test/storm/storage/SparseMatrixTest.cpp +++ b/src/test/storm/storage/SparseMatrixTest.cpp @@ -710,12 +710,12 @@ TEST(SparseMatrix, Permute) { std::vector inversePermutation = {1,4,0,3,2}; storm::storage::SparseMatrix matrixperm = matrix.permuteRows(inversePermutation); - EXPECT_EQ(5, matrixperm.getRowCount()); - EXPECT_EQ(4, matrixperm.getColumnCount()); - EXPECT_EQ(8, matrixperm.getEntryCount()); + EXPECT_EQ(5ul, matrixperm.getRowCount()); + EXPECT_EQ(4ul, matrixperm.getColumnCount()); + EXPECT_EQ(8ul, matrixperm.getEntryCount()); EXPECT_EQ(matrix.getRowSum(1), matrixperm.getRowSum(0)); EXPECT_EQ(matrix.getRowSum(4), matrixperm.getRowSum(1)); EXPECT_EQ(matrix.getRowSum(0), matrixperm.getRowSum(2)); EXPECT_EQ(matrix.getRowSum(3), matrixperm.getRowSum(3)); EXPECT_EQ(matrix.getRowSum(2), matrixperm.getRowSum(4)); -} \ No newline at end of file +}