diff --git a/opm/simulators/wells/MultisegmentWell_impl.hpp b/opm/simulators/wells/MultisegmentWell_impl.hpp index e7c7bfc06..e75fba6c5 100644 --- a/opm/simulators/wells/MultisegmentWell_impl.hpp +++ b/opm/simulators/wells/MultisegmentWell_impl.hpp @@ -71,6 +71,10 @@ namespace Opm if constexpr (Base::has_brine) { OPM_THROW(std::runtime_error, "brine is not supported by multisegment well yet"); } + + if constexpr (Base::has_watVapor) { + OPM_THROW(std::runtime_error, "water evaporation is not supported by multisegment well yet"); + } }