mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
mistake use of typename.
This commit is contained in:
parent
ff91428fe0
commit
391287283d
@ -155,7 +155,7 @@ namespace {
|
||||
|
||||
V pvol(grid_.number_of_cells);
|
||||
// Pore volume
|
||||
const typename V::Index nc = grid_.number_of_cells;
|
||||
const V::Index nc = grid_.number_of_cells;
|
||||
V rho = V::Constant(pvol.size(), 1, *fluid_.porosity());
|
||||
std::transform(grid_.cell_volumes, grid_.cell_volumes + nc,
|
||||
rho.data(), pvol.data(),
|
||||
|
Loading…
Reference in New Issue
Block a user