From: mgr Date: Fri, 8 Jan 2010 08:41:47 +0000 (+0000) Subject: Fixing std::abs ambiguity. X-Git-Tag: V5_1_main_FINAL~253 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5996baec4e4ac57e35ec083a65eea38345b19b7c;p=tools%2Fmedcoupling.git Fixing std::abs ambiguity. --- diff --git a/src/INTERP_KERNEL/BBTree.txx b/src/INTERP_KERNEL/BBTree.txx index 35bbbba1a..7e45de979 100644 --- a/src/INTERP_KERNEL/BBTree.txx +++ b/src/INTERP_KERNEL/BBTree.txx @@ -122,8 +122,8 @@ public: } - _max_left=max_left+std::abs(_epsilon); - _min_right=min_right-std::abs(_epsilon); + _max_left=max_left+((double)std::abs(_epsilon)); + _min_right=min_right-((double)std::abs(_epsilon)); _left=new BBTree(bbs, &(new_elems_left[0]), level+1, new_elems_left.size(),_epsilon); _right=new BBTree(bbs, &(new_elems_right[0]), level+1, new_elems_right.size(),_epsilon);