mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
#2315. Replaced abs() by fabs() where relevant
This commit is contained in:
1 parent
0f30433286
commit
4cdc109ec3
7 files changed
+16
-16
No files matched your search
@@ -1797,7 +1797,7 @@ void RigFemPartResultsCollection::calculateGammaFromFrames(int partIndex,
|
||||
|
||||
float por = srcPORFrameData[nodeIdx];
|
||||
|
||||
if ( por == inf || abs(por) < 0.01e6*1.0e-5 )
|
||||
if ( por == inf || fabs(por) < 0.01e6*1.0e-5 )
|
||||
dstFrameData[elmNodResIdx] = inf;
|
||||
else
|
||||
dstFrameData[elmNodResIdx] = srcSTFrameData[elmNodResIdx]/por;
|
||||
|
||||
Reference in new issue
Block a user