From 6fcb16c0c94cef549931947d715c2828a529f4b6 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Thu, 10 Nov 2016 20:17:39 +0100 Subject: [PATCH] fix a signedness issue when retrieving parameters the issue only bites if the tests are compiled in debug mode, so it has only been discovered now. --- examples/problems/co2injectionproblem.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/problems/co2injectionproblem.hh b/examples/problems/co2injectionproblem.hh index c04120c18..765671905 100644 --- a/examples/problems/co2injectionproblem.hh +++ b/examples/problems/co2injectionproblem.hh @@ -307,7 +307,7 @@ public: EWOMS_REGISTER_PARAM(TypeTag, Scalar, FluidSystemTemperatureHigh, "The upper temperature [K] for tabulation of the " "fluid system"); - EWOMS_REGISTER_PARAM(TypeTag, int, FluidSystemNumTemperature, + EWOMS_REGISTER_PARAM(TypeTag, unsigned, FluidSystemNumTemperature, "The number of intervals between the lower and " "upper temperature"); @@ -317,7 +317,7 @@ public: EWOMS_REGISTER_PARAM(TypeTag, Scalar, FluidSystemPressureHigh, "The upper pressure [Pa] for tabulation of the " "fluid system"); - EWOMS_REGISTER_PARAM(TypeTag, int, FluidSystemNumPressure, + EWOMS_REGISTER_PARAM(TypeTag, unsigned, FluidSystemNumPressure, "The number of intervals between the lower and " "upper pressure");