]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Fixing std::abs ambiguity.
authormgr <mgr@opencascade.com>
Fri, 8 Jan 2010 08:41:47 +0000 (08:41 +0000)
committermgr <mgr@opencascade.com>
Fri, 8 Jan 2010 08:41:47 +0000 (08:41 +0000)
src/INTERP_KERNEL/BBTree.txx

index 35bbbba1a91d44f0228b7ba9b50a5d179ca6bc29..7e45de979e3a491bc65ca4817fefc8bf8e31b284 100644 (file)
@@ -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);