From: ageay Date: Fri, 5 Mar 2010 15:42:13 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_main_FINAL~169 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8185bfef50cdab2a814f9bf833a63528194dcc9c;p=tools%2Fmedcoupling.git *** empty log message *** --- diff --git a/src/INTERP_KERNEL/BBTree.txx b/src/INTERP_KERNEL/BBTree.txx index 2b670901f..1e5c7d5cb 100644 --- a/src/INTERP_KERNEL/BBTree.txx +++ b/src/INTERP_KERNEL/BBTree.txx @@ -36,7 +36,7 @@ private: int _level; double _max_left; double _min_right; - double* _bb; + const double *_bb; typename std::vector _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)