From dbee70b222db0559996d4520fe351b7c98278472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rnar=20Grip=20Fj=C3=A6r?= Date: Thu, 24 Aug 2017 10:58:52 +0200 Subject: [PATCH] #1807 Adjust tracer communication in flow characteristics plot to include cells with 0-value --- ApplicationCode/ReservoirDataModel/RigFlowDiagResults.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/ReservoirDataModel/RigFlowDiagResults.cpp b/ApplicationCode/ReservoirDataModel/RigFlowDiagResults.cpp index a0776a33a8..ba2a7af273 100644 --- a/ApplicationCode/ReservoirDataModel/RigFlowDiagResults.cpp +++ b/ApplicationCode/ReservoirDataModel/RigFlowDiagResults.cpp @@ -734,7 +734,7 @@ RigFlowDiagSolverInterface::FlowCharacteristicsResultFrame RigFlowDiagResults::f for (size_t i = 0; i < communicationResult->size(); ++i) { - if (communicationResult->at(i) != HUGE_VAL && communicationResult->at(i) > 0) + if (communicationResult->at(i) != HUGE_VAL && communicationResult->at(i) >= 0) { selectedCellIndices.push_back(i); if (allInjectorResults != nullptr) injectorResults.push_back(allInjectorResults->at(i));