From: ANA Date: Tue, 11 Oct 2016 11:22:11 +0000 (+0300) Subject: Fix for the "0023363: [CEA 1967] BLSURFPLUGIN porting patch for g++ 6" issue X-Git-Tag: V8_2_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=84812a027848fb537af869cf8fb2b3a59f7932d1;p=plugins%2Fblsurfplugin.git Fix for the "0023363: [CEA 1967] BLSURFPLUGIN porting patch for g++ 6" issue --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_Attractor.cxx b/src/BLSURFPlugin/BLSURFPlugin_Attractor.cxx index dfd2781..be10a6f 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Attractor.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Attractor.cxx @@ -238,7 +238,7 @@ double BLSURFPlugin_Attractor::GetSize(double u, double v) } break; case TYPE_LIN: - return _startSize + ( 0.5 * (attrDist - _constantRadius + abs(attrDist - _constantRadius)) ) ; + return _startSize + ( 0.5 * (attrDist - _constantRadius + fabs(attrDist - _constantRadius)) ) ; break; } return -1;