From dc70c1f8e08b78504acf69de6bf5185cb9723d95 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Thu, 13 Dec 2018 22:28:56 +0100 Subject: [PATCH] Completion export : Remove early return to be able to compute WPIMULT correct --- .../RicWellPathExportCompletionDataFeatureImpl.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp b/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp index 829cb52570..7e0081b18c 100644 --- a/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp +++ b/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp @@ -992,11 +992,6 @@ RigCompletionData { CVF_ASSERT(!completions.empty()); - if (completions.size() == 1) - { - return completions[0]; - } - const RigCompletionData& firstCompletion = completions[0]; const QString& wellName = firstCompletion.wellName();