From f24f7ea202bed703243326410a981c959fdf261c Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Tue, 7 Jul 2015 18:45:53 +0200 Subject: [PATCH] [T] Correct signedness in for loop. --- Tests/NumLib/TestCoordinatesMapping.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/NumLib/TestCoordinatesMapping.cpp b/Tests/NumLib/TestCoordinatesMapping.cpp index 3c3032fe74c..ddf44df0a2d 100644 --- a/Tests/NumLib/TestCoordinatesMapping.cpp +++ b/Tests/NumLib/TestCoordinatesMapping.cpp @@ -311,7 +311,7 @@ TEST(NumLib, FemNaturalCoordinatesMappingLineY) double exp_dNdx[2*e_nnodes] = {0, 0, -0.5, 0.5}; ASSERT_ARRAY_NEAR(exp_dNdx, shape.dNdx.data(), shape.dNdx.size(), eps); - for (auto n = 0; n < line->getNNodes(); ++n) + for (auto n = 0u; n < line->getNNodes(); ++n) delete line->getNode(n); delete line; } -- GitLab