Suppress sign-comparison warnings.
This commit is contained in:
parent
f0e6b324b8
commit
488e2161dc
@ -56,7 +56,7 @@ namespace Opm
|
||||
// viscosity
|
||||
if (deck->hasKeyword("GASVISCT")) {
|
||||
gasvisctTables_ = &eclipseState->getGasvisctTables();
|
||||
assert(gasvisctTables_->size() == numRegions);
|
||||
assert(int(gasvisctTables_->size()) == numRegions);
|
||||
|
||||
gasCompIdx_ = deck->getKeyword("GCOMPIDX")->getRecord(0)->getItem("GAS_COMPONENT_INDEX")->getInt(0) - 1;
|
||||
gasvisctColumnName_ = "Viscosity"+std::to_string(static_cast<long long>(gasCompIdx_));
|
||||
|
@ -60,8 +60,8 @@ namespace Opm
|
||||
oilvisctTables_ = &eclipseState->getOilvisctTables();
|
||||
Opm::DeckKeywordConstPtr viscrefKeyword = deck->getKeyword("VISCREF");
|
||||
|
||||
assert(oilvisctTables_->size() == numRegions);
|
||||
assert(viscrefKeyword->size() == numRegions);
|
||||
assert(int(oilvisctTables_->size()) == numRegions);
|
||||
assert(int(viscrefKeyword->size()) == numRegions);
|
||||
|
||||
viscrefPress_.resize(numRegions);
|
||||
viscrefRs_.resize(numRegions);
|
||||
|
@ -68,8 +68,8 @@ namespace Opm
|
||||
watvisctTables_ = &eclipseState->getWatvisctTables();
|
||||
Opm::DeckKeywordConstPtr viscrefKeyword = deck->getKeyword("VISCREF");
|
||||
|
||||
assert(watvisctTables_->size() == numRegions);
|
||||
assert(viscrefKeyword->size() == numRegions);
|
||||
assert(int(watvisctTables_->size()) == numRegions);
|
||||
assert(int(viscrefKeyword->size()) == numRegions);
|
||||
|
||||
viscrefPress_.resize(numRegions);
|
||||
for (int regionIdx = 0; regionIdx < numRegions; ++ regionIdx) {
|
||||
@ -83,7 +83,7 @@ namespace Opm
|
||||
if (deck->hasKeyword("WATDENT")) {
|
||||
DeckKeywordConstPtr watdentKeyword = deck->getKeyword("WATDENT");
|
||||
|
||||
assert(watdentKeyword->size() == numRegions);
|
||||
assert(int(watdentKeyword->size()) == numRegions);
|
||||
|
||||
watdentRefTemp_.resize(numRegions);
|
||||
watdentCT1_.resize(numRegions);
|
||||
|
Loading…
Reference in New Issue
Block a user