From a7e6a632f543a4a73e8a6db834d018a2631051fb Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <markus.quaritsch@tugraz.at> Date: Fri, 25 Jan 2019 14:38:14 +0100 Subject: [PATCH] fixes an error introduced with VECTO-787 --- .../Models/SimulationComponent/Impl/DefaultDriverStrategy.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/DefaultDriverStrategy.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/DefaultDriverStrategy.cs index f37ebf114d..d38d385e4a 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/DefaultDriverStrategy.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/DefaultDriverStrategy.cs @@ -602,6 +602,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl if (retVal == null) { throw new VectoException("Failed to find operating point!"); } + + return retVal; } var currentDistance = DataBus.Distance; -- GitLab