]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
*** empty log message ***
authorageay <ageay>
Fri, 5 Mar 2010 15:42:13 +0000 (15:42 +0000)
committerageay <ageay>
Fri, 5 Mar 2010 15:42:13 +0000 (15:42 +0000)
src/INTERP_KERNEL/BBTree.txx

index 2b670901f0f8810223ed8fe62ade57a09fa75efe..1e5c7d5cb6174783a7d306d3dbb4584e179820e4 100644 (file)
@@ -36,7 +36,7 @@ private:
   int _level;
   double _max_left;
   double _min_right;
-  double* _bb;
+  const double *_bb;
   typename std::vector<ConnType> _elems;
   bool _terminal;
   ConnType _nbelems;
@@ -64,7 +64,7 @@ public:
     \endcode
   */
 
-  BBTree(double* bbs, ConnType* elems, int level, ConnType nbelems, double epsilon=1E-12):
+  BBTree(const double* bbs, ConnType* elems, int level, ConnType nbelems, double epsilon=1E-12):
     _left(0), _right(0), _level(level), _bb(bbs), _terminal(false),_nbelems(nbelems),_epsilon(epsilon)
   {
     if (nbelems < MIN_NB_ELEMS || level> MAX_LEVEL)