Merge pull request #1917 from GitPaean/fixing_warnings_

more fixing for the tests
This commit is contained in:
Atgeirr Flø Rasmussen
2019-06-26 14:35:00 +02:00
committed by GitHub
2 changed files with 3 additions and 4 deletions

View File

@@ -1490,6 +1490,7 @@ namespace Opm
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.");
case Phase::FOAM: OPM_THROW(std::invalid_argument, "Foam injector is not supported.");
}
OPM_THROW(std::logic_error, "Invalid state." );
}