diff --git a/MaterialLib/MPL/Properties/Enthalpy/LinearWaterVapourLatentHeat.h b/MaterialLib/MPL/Properties/Enthalpy/LinearWaterVapourLatentHeat.h index a9e77d9c896..c12b1857789 100644 --- a/MaterialLib/MPL/Properties/Enthalpy/LinearWaterVapourLatentHeat.h +++ b/MaterialLib/MPL/Properties/Enthalpy/LinearWaterVapourLatentHeat.h @@ -43,11 +43,12 @@ class LinearWaterVapourLatentHeat final : public Property void checkScale() const override { - if (!std::holds_alternative(scale_)) + if (!(std::holds_alternative(scale_) || + std::holds_alternative(scale_))) { OGS_FATAL( "The property 'LinearWaterVapourLatentHeat' is " - "implemented on the 'phase' scale only."); + "implemented on the 'phase' and 'component' scale only."); } }