#1807 Adjust tracer communication in flow characteristics plot to include cells with 0-value

This commit is contained in:
Bjørnar Grip Fjær 2017-08-24 10:58:52 +02:00
parent f4ca6395cd
commit dbee70b222

View File

@ -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));