Skip to content
Snippets Groups Projects
Commit ace88b3b authored by Robert K's avatar Robert K
Browse files

make compile.

parent 8317fe94
No related branches found
No related tags found
No related merge requests found
......@@ -174,8 +174,12 @@ namespace Dune
boundaryParameter ( const Intersection< GG, II > & intersection ) const
{
typedef Dune::Intersection< GG, II > Intersection;
#if DUNE_VERSION_NEWER(DUNE_GRID,2,4)
const typename Intersection::Entity& entity = intersection.inside();
#else
typename Intersection::EntityPointer inside = intersection.inside();
const typename Intersection::Entity & entity = *inside;
const typename Intersection::Entity& entity = *inside;
#endif
const int face = intersection.indexInInside();
const ReferenceElement< double, dimension > & refElem =
......
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