Supress signed-unsigned comparison warning.

This commit is contained in:
Atgeirr Flø Rasmussen 2014-05-12 09:18:52 +02:00
parent a681bcf869
commit 9690ccc978

View File

@ -191,7 +191,7 @@ namespace Opm
bool hysteresis_switch = false; bool hysteresis_switch = false;
if (newParserDeck->hasKeyword("SATOPTS")) { if (newParserDeck->hasKeyword("SATOPTS")) {
const std::vector<std::string>& satopts = newParserDeck->getKeyword("SATOPTS")->getStringData(); const std::vector<std::string>& satopts = newParserDeck->getKeyword("SATOPTS")->getStringData();
for (int i = 0; i < satopts.size(); ++i) { for (size_t i = 0; i < satopts.size(); ++i) {
if (satopts[i] == std::string("HYSTER")) { if (satopts[i] == std::string("HYSTER")) {
hysteresis_switch = true; hysteresis_switch = true;
} else { } else {