adding POLYMW to the injectorType determination

just to silence a warning resulting from OPM/opm-common#348.
This commit is contained in:
Kai Bao 2018-03-09 14:38:33 +01:00
parent d4096f43f7
commit b0edfd2f04

View File

@ -1483,6 +1483,7 @@ namespace Opm
case Phase::SOLVENT: OPM_THROW(std::invalid_argument, "Solvent injector is not supported.");
case Phase::POLYMER: OPM_THROW(std::invalid_argument, "Polymer injector is not supported.");
case Phase::ENERGY: OPM_THROW(std::invalid_argument, "Energy injector is not supported.");
case Phase::POLYMW: OPM_THROW(std::invalid_argument, "PolyMW injector is not supported.");
}
OPM_THROW(std::logic_error, "Invalid state." );
}