mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
[bugfix] Fixes elementAt of CentroidIterator.
This commit is contained in:
parent
340da4cd7f
commit
4e39c7dad1
@ -289,7 +289,7 @@ public:
|
||||
}
|
||||
const Dune::FieldVector<double, 3>& elementAt(int n) const
|
||||
{
|
||||
return std::mem_fn(Method)(*grid_, cell_index_);
|
||||
return std::mem_fn(Method)(*grid_, n);
|
||||
}
|
||||
void advance(int n)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user