mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 02:30:18 -06:00
Fix unsigned/signed comparison warning.
This commit is contained in:
parent
a991eb55e3
commit
3c7a79c16a
@ -165,7 +165,7 @@ public:
|
||||
void scatter(B& buffer, const T& e, std::size_t size)
|
||||
{
|
||||
assert( T::codimension == 0);
|
||||
assert( size == 2 * recvState_.numPhases() +4+2*recvGrid_.numCellFaces(e.index()));
|
||||
assert( int(size) == 2 * recvState_.numPhases() +4+2*recvGrid_.numCellFaces(e.index()));
|
||||
static_cast<void>(size);
|
||||
|
||||
double val;
|
||||
|
Loading…
Reference in New Issue
Block a user