Supress signed-unsigned comparison warning.
This commit is contained in:
parent
a681bcf869
commit
9690ccc978
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user