From 54c1bcba93c64caf6ccaee76b2fe5d1fef5355b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Thu, 16 Mar 2017 16:51:28 +0100 Subject: [PATCH] #1326 Fixed with scale of Well Connection Lines --- ApplicationCode/ReservoirDataModel/RigFlowDiagResults.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ApplicationCode/ReservoirDataModel/RigFlowDiagResults.cpp b/ApplicationCode/ReservoirDataModel/RigFlowDiagResults.cpp index 3d8e8d4e7e..cf95569709 100644 --- a/ApplicationCode/ReservoirDataModel/RigFlowDiagResults.cpp +++ b/ApplicationCode/ReservoirDataModel/RigFlowDiagResults.cpp @@ -625,8 +625,8 @@ double RigFlowDiagResults::maxAbsPairFlux(int frameIndex) for (const auto& commPair : m_injProdPairFluxCommunicationTimesteps[frameIndex]) { - if (fabs(commPair.second.first) > maxFlux ) maxFlux = commPair.second.first; - if (fabs(commPair.second.second) > maxFlux ) maxFlux = commPair.second.second; + if (fabs(commPair.second.first) > maxFlux ) maxFlux = fabs(commPair.second.first); + if (fabs(commPair.second.second) > maxFlux ) maxFlux = fabs(commPair.second.second); } return maxFlux;