mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix a pretty simple compile issue
This was caused by the new multi-region PVT support in opm-core.
This commit is contained in:
parent
64aa6566ae
commit
67b5cb263e
@ -1259,7 +1259,7 @@ namespace Opm
|
||||
assert(np == 2);
|
||||
const int dim = grid_.dimensions;
|
||||
density_.resize(nc*np);
|
||||
props_.density(grid_.number_of_cells, &A_[0], &density_[0]);
|
||||
props_.density(grid_.number_of_cells, &A_[0], grid_.global_cell, &density_[0]);
|
||||
std::fill(gravflux_.begin(), gravflux_.end(), 0.0);
|
||||
for (int f = 0; f < nf; ++f) {
|
||||
const int* c = &grid_.face_cells[2*f];
|
||||
|
Loading…
Reference in New Issue
Block a user