Merge pull request #593 from atgeirr/fix-warning

Silence warning also in debug builds.
This commit is contained in:
Atgeirr Flø Rasmussen
2020-02-13 13:01:22 +01:00
committed by GitHub

View File

@@ -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<Scalar>(0.0);