From: ageay Date: Mon, 1 Mar 2010 10:54:00 +0000 (+0000) Subject: powl -> pow to avoid valgrind errors on 64 bits plateforms. X-Git-Tag: V5_1_main_FINAL~175 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6a1e35439c914aca6af78bbd036430242d262a49;p=tools%2Fmedcoupling.git powl -> pow to avoid valgrind errors on 64 bits plateforms. --- diff --git a/src/INTERP_KERNEL/ExprEval/InterpKernelValue.cxx b/src/INTERP_KERNEL/ExprEval/InterpKernelValue.cxx index 70e5faf77..05d29511d 100644 --- a/src/INTERP_KERNEL/ExprEval/InterpKernelValue.cxx +++ b/src/INTERP_KERNEL/ExprEval/InterpKernelValue.cxx @@ -385,7 +385,7 @@ Value *ValueDoubleExpr::pow(const Value *other) const throw(INTERP_KERNEL::Excep if(it!=_dest_data+_sz_dest_data) throw INTERP_KERNEL::Exception("Trying to operate pow(a,b) with a<0. !"); ValueDoubleExpr *ret=new ValueDoubleExpr(_sz_dest_data,_src_data); - std::transform(_dest_data,_dest_data+_sz_dest_data,ret->getData(),std::bind2nd(std::ptr_fun(powl),p)); + std::transform(_dest_data,_dest_data+_sz_dest_data,ret->getData(),std::bind2nd(std::ptr_fun(std::pow),p)); return ret; }