From 88fc5df9b3d39b784af059bcf42a5891200bfd0c Mon Sep 17 00:00:00 2001 From: Michael Krisper <michael.krisper@tugraz.at> Date: Wed, 27 Apr 2022 18:43:00 +0200 Subject: [PATCH] SearchAlgorithm: corrected display of search points (cherry picked from commit 20a365e2b13d76ae8dfc63a915925b46436171b3) --- VectoCore/VectoCore/Utils/SearchAlgorithm.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VectoCore/VectoCore/Utils/SearchAlgorithm.cs b/VectoCore/VectoCore/Utils/SearchAlgorithm.cs index 11ff01cdc0..d821eaf669 100644 --- a/VectoCore/VectoCore/Utils/SearchAlgorithm.cs +++ b/VectoCore/VectoCore/Utils/SearchAlgorithm.cs @@ -181,7 +181,7 @@ namespace TUGraz.VectoCore.Utils log.Error("debug: {0}", debug); WriteSearch(debug, "LineSearch.csv"); - throw new VectoSearchFailedException("Failed to find operating point! points: {0}", debug); + throw new VectoSearchFailedException("Failed to find operating point! points: {0}", debug.LocalData.Select(d => d.b).Join()); } [Conditional("TRACE")] @@ -298,7 +298,7 @@ namespace TUGraz.VectoCore.Utils log.Error("debug: {0}", debug); #endif WriteSearch(debug, "InterpolateSearch.csv"); - throw new VectoSearchFailedException("Failed to find operating point! points: {0}", debug); + throw new VectoSearchFailedException("Failed to find operating point! points: {0}", debug.LocalData.Select(d => d.b).Join()); } [Conditional("TRACE")] -- GitLab