Skip to content
Snippets Groups Projects
Commit 3012400f authored by dedner's avatar dedner
Browse files

use ilevelbegin on grid and not on entity since it was removed there

parent eec4efef
No related branches found
No related tags found
No related merge requests found
......@@ -157,14 +157,16 @@ namespace Dune
IntersectionIterator
ibegin ( const typename Codim< 0 > :: Entity &entity ) const
{
return Grid::getRealImplementation( entity ).ilevelbegin();
// return Grid::getRealImplementation( entity ).ilevelbegin();
return grid().ilevelbegin( entity );
}
/** \brief obtain end intersection iterator with respect to this view */
IntersectionIterator
iend ( const typename Codim< 0 > :: Entity &entity ) const
{
return Grid::getRealImplementation( entity ).ilevelend();
// return Grid::getRealImplementation( entity ).ilevelend();
return grid().ilevelend( entity );
}
/** \brief obtain collective communication object */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment