Suppress unused argument warning in release mode.

This commit is contained in:
Atgeirr Flø Rasmussen 2014-11-24 10:54:51 +01:00
parent f763192a32
commit f279629bf1

View File

@ -108,6 +108,7 @@ namespace Opm
const int nc = number_of_cells;
assert(cartdims[0]*cartdims[1]*cartdims[2] > 0);
static_cast<void>(cartdims); // Squash warning in release mode.
permeability_.assign(dim * dim * nc, 0.0);