From 461694677a48fd2b2527825f5316ca602277a03a Mon Sep 17 00:00:00 2001 From: Paul Egberts Date: Mon, 24 Jan 2022 10:40:19 +0100 Subject: [PATCH] Improved error message --- ebos/eclproblem.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebos/eclproblem.hh b/ebos/eclproblem.hh index 2dab2a929..b5f34b0b8 100644 --- a/ebos/eclproblem.hh +++ b/ebos/eclproblem.hh @@ -2575,10 +2575,10 @@ private: " vaporized oil is enabled"); if (enableBrine && !has_salt) throw std::runtime_error("The ECL input file requires the SALT keyword to be present if" - " brine is enabled"); + " brine is enabled and the model is initialized explicitly"); if (enableSaltPrecipitation && !has_saltp) throw std::runtime_error("The ECL input file requires the SALTP keyword to be present if" - " salt precipitation is enabled"); + " salt precipitation is enabled and the model is initialized explicitly"); size_t numDof = this->model().numGridDof();