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:
@@ -289,7 +289,7 @@ public:
|
|||||||
}
|
}
|
||||||
const Dune::FieldVector<double, 3>& elementAt(int n) const
|
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)
|
void advance(int n)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user