From e9764e0b843fe6324953e2a3ecd78d2e706546e0 Mon Sep 17 00:00:00 2001 From: Nils Kohl Date: Tue, 30 Aug 2022 13:41:46 +0200 Subject: [PATCH] Fixing warnings for nightly. --- tests/hyteg/P2/P2ProlongateTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hyteg/P2/P2ProlongateTest.cpp b/tests/hyteg/P2/P2ProlongateTest.cpp index 551b077e2..5402e21e5 100644 --- a/tests/hyteg/P2/P2ProlongateTest.cpp +++ b/tests/hyteg/P2/P2ProlongateTest.cpp @@ -66,7 +66,7 @@ static void testP2Prolongate() { 13., it.col() << " " << it.row()); } - if(it.col() + it.row() != ( hyteg::levelinfo::num_microedges_per_edge( sourceLevel + 1 ) - 1)) { + if(it.col() + it.row() != idx_t( hyteg::levelinfo::num_microedges_per_edge( sourceLevel + 1 ) - 1)) { WALBERLA_CHECK_FLOAT_EQUAL( edgeDoFFineData[hyteg::edgedof::macroface::indexFromVertex(sourceLevel + 1,it.col(), it.row(), sD::EDGE_DI_NE)], 13., @@ -122,7 +122,7 @@ static void testP2Prolongate() { 13., it.col() << " " << it.row()); } - if(it.col() + it.row() != ( hyteg::levelinfo::num_microedges_per_edge( sourceLevel + 2 ) - 1)) { + if(it.col() + it.row() != idx_t( hyteg::levelinfo::num_microedges_per_edge( sourceLevel + 2 ) - 1)) { WALBERLA_CHECK_FLOAT_EQUAL( edgeDoFFineData[hyteg::edgedof::macroface::indexFromVertex(sourceLevel + 2,it.col(), it.row(), sD::EDGE_DI_NE)], 13., -- GitLab