From f12e0ab8acddbd28230ec25ae9de721bfbbc7c24 Mon Sep 17 00:00:00 2001
From: Rene Milk <rene.milk@uni-muenster.de>
Date: Mon, 27 Aug 2012 14:20:25 +0200
Subject: [PATCH] [ranges] fix critical bug in lpPointSet range

---
 dune/stuff/common/ranges.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dune/stuff/common/ranges.hh b/dune/stuff/common/ranges.hh
index 918277310..2a59b558c 100644
--- a/dune/stuff/common/ranges.hh
+++ b/dune/stuff/common/ranges.hh
@@ -103,15 +103,15 @@ class LagrangePointSetRange
   typedef typename DiscreteFunctionspaceType::LagrangePointSetType LagrangePointSetType;
   typedef typename LagrangePointSetType::template Codim<faceCodim>::SubEntityIteratorType SubEntityIteratorType;
   const LagrangePointSetType& lp_set_;
-  const int subEntity_;
+  const unsigned int subEntity_;
 
 public:
   /** the template isn't lazyness here, the underlying set is tempalted on it too
    */
   template <class EntityType>
-  LagrangePointSetRange(const DiscreteFunctionspaceType& space, const EntityType& entity, const int subEntity)
+  LagrangePointSetRange(const DiscreteFunctionspaceType& space, const EntityType& entity, const unsigned int subEntity)
     : lp_set_(space.lagrangePointSet(entity))
-    , subEntity_(subEntity_)
+    , subEntity_(subEntity)
   {
   }
 
-- 
GitLab