mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
quell signed/unsigned mismatch warning
This commit is contained in:
@@ -107,7 +107,7 @@ namespace Opm
|
|||||||
// TODO: in theory, we should use numWellEq here.
|
// TODO: in theory, we should use numWellEq here.
|
||||||
// for (int eqIdx = 0; eqIdx < numWellEq; ++eqIdx) {
|
// for (int eqIdx = 0; eqIdx < numWellEq; ++eqIdx) {
|
||||||
for (int eqIdx = 0; eqIdx < numComponents(); ++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] = 0.0;
|
||||||
primary_variables_evaluation_[eqIdx].setValue(primary_variables_[eqIdx]);
|
primary_variables_evaluation_[eqIdx].setValue(primary_variables_[eqIdx]);
|
||||||
|
|||||||
Reference in New Issue
Block a user