mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Prevent signed-unsigned-comparison warning.
This commit is contained in:
parent
c7cca46b2c
commit
79670b1c29
@ -1158,7 +1158,7 @@ namespace detail {
|
||||
{
|
||||
auto& maskContainer = info.getOwnerMask();
|
||||
auto mask = maskContainer.begin();
|
||||
assert(maskContainer.size() == size_per_component);
|
||||
assert(static_cast<int>(maskContainer.size()) == size_per_component);
|
||||
|
||||
for(int cell = 0; cell < size_per_component; ++cell, ++mask)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user