]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Fix for the "0023363: [CEA 1967] BLSURFPLUGIN porting patch for g++ 6" issue
authorANA <anastasiya.nikolaeva@opencascade.com>
Tue, 11 Oct 2016 11:22:11 +0000 (14:22 +0300)
committerANA <anastasiya.nikolaeva@opencascade.com>
Tue, 11 Oct 2016 11:22:11 +0000 (14:22 +0300)
src/BLSURFPlugin/BLSURFPlugin_Attractor.cxx

index dfd278142c2ee0cdd0b8e56db21ee9764edc8ae2..be10a6f71f04af5479e161c2b3ae883c2ee370ba 100644 (file)
@@ -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;