From 5996baec4e4ac57e35ec083a65eea38345b19b7c Mon Sep 17 00:00:00 2001 From: mgr Date: Fri, 8 Jan 2010 08:41:47 +0000 Subject: [PATCH] Fixing std::abs ambiguity. --- src/INTERP_KERNEL/BBTree.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2