From 46d4596390e03ab01d0460879bc4dacf9e33cf4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Thu, 13 Feb 2020 09:38:39 +0100 Subject: [PATCH] Silence warning also in debug builds. --- opm/models/blackoil/blackoilbrinemodules.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opm/models/blackoil/blackoilbrinemodules.hh b/opm/models/blackoil/blackoilbrinemodules.hh index 91f7fcabb..7e23973d8 100644 --- a/opm/models/blackoil/blackoilbrinemodules.hh +++ b/opm/models/blackoil/blackoilbrinemodules.hh @@ -258,10 +258,10 @@ public: /*! * \brief Return how much a Newton-Raphson update is considered an error */ - static Scalar computeUpdateError(const PrimaryVariables& oldPv OPM_OPTIM_UNUSED, - const EqVector& delta OPM_OPTIM_UNUSED) + static Scalar computeUpdateError(const PrimaryVariables& oldPv OPM_UNUSED, + const EqVector& delta OPM_UNUSED) { - // do not consider consider the cange of Brine primary variables for + // do not consider consider the change of Brine primary variables for // convergence // TODO: maybe this should be changed return static_cast(0.0);