[bugfix] Fixes elementAt of CentroidIterator.

This commit is contained in:
Markus Blatt 2014-02-27 12:55:35 +01:00
parent 340da4cd7f
commit 4e39c7dad1

View File

@ -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)
{