#1326 Fixed with scale of Well Connection Lines

This commit is contained in:
Jacob Støren 2017-03-16 16:51:28 +01:00
parent b41a0fb178
commit 54c1bcba93

View File

@ -625,8 +625,8 @@ double RigFlowDiagResults::maxAbsPairFlux(int frameIndex)
for (const auto& commPair : m_injProdPairFluxCommunicationTimesteps[frameIndex]) for (const auto& commPair : m_injProdPairFluxCommunicationTimesteps[frameIndex])
{ {
if (fabs(commPair.second.first) > maxFlux ) maxFlux = commPair.second.first; if (fabs(commPair.second.first) > maxFlux ) maxFlux = fabs(commPair.second.first);
if (fabs(commPair.second.second) > maxFlux ) maxFlux = commPair.second.second; if (fabs(commPair.second.second) > maxFlux ) maxFlux = fabs(commPair.second.second);
} }
return maxFlux; return maxFlux;