(#405) Gamma calculation test POR < threshold needed the threshold to be in bar as well.

This commit is contained in:
Jacob Støren 2015-09-26 10:22:39 +02:00
parent 43dd883f63
commit 07d101353c

View File

@ -550,7 +550,7 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::calculateDerivedResult(in
float por = srcPORFrameData[nodeIdx];
if (por == inf || abs(por) < 0.01e6)
if (por == inf || abs(por) < 0.01e6*1.0e-5)
dstFrameData[elmNodResIdx] = inf;
else
dstFrameData[elmNodResIdx] = srcSTFrameData[elmNodResIdx]/por;