Merge pull request #589 from atgeirr/fix-comparison-warning
Supress signed-unsigned comparison warning.
This commit is contained in:
commit
d50b7ab4aa
@ -191,7 +191,7 @@ namespace Opm
|
||||
bool hysteresis_switch = false;
|
||||
if (newParserDeck->hasKeyword("SATOPTS")) {
|
||||
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")) {
|
||||
hysteresis_switch = true;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user