From 84812a027848fb537af869cf8fb2b3a59f7932d1 Mon Sep 17 00:00:00 2001 From: ANA Date: Tue, 11 Oct 2016 14:22:11 +0300 Subject: [PATCH] Fix for the "0023363: [CEA 1967] BLSURFPLUGIN porting patch for g++ 6" issue --- src/BLSURFPlugin/BLSURFPlugin_Attractor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2