mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1294 from akva2/there_there_mr_ocd
quell signed/unsigned mismatch warning
This commit is contained in:
commit
0264a1f609
@ -107,7 +107,7 @@ namespace Opm
|
||||
// TODO: in theory, we should use numWellEq here.
|
||||
// for (int eqIdx = 0; eqIdx < numWellEq; ++eqIdx) {
|
||||
for (int eqIdx = 0; eqIdx < numComponents(); ++eqIdx) {
|
||||
assert( eqIdx < primary_variables_.size() );
|
||||
assert( (size_t)eqIdx < primary_variables_.size() );
|
||||
|
||||
primary_variables_evaluation_[eqIdx] = 0.0;
|
||||
primary_variables_evaluation_[eqIdx].setValue(primary_variables_[eqIdx]);
|
||||
|
Loading…
Reference in New Issue
Block a user