Fix unsigned/signed comparison warning.

This commit is contained in:
Atgeirr Flø Rasmussen 2015-05-28 14:07:25 +02:00
parent a991eb55e3
commit 3c7a79c16a

View File

@ -165,7 +165,7 @@ public:
void scatter(B& buffer, const T& e, std::size_t size) void scatter(B& buffer, const T& e, std::size_t size)
{ {
assert( T::codimension == 0); 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); static_cast<void>(size);
double val; double val;