diff --git a/VectoCore/VectoCore/Utils/SearchAlgorithm.cs b/VectoCore/VectoCore/Utils/SearchAlgorithm.cs index 11ff01cdc000f8a8aedcac9716c33771f9973920..d821eaf669d44e01054d220d36b619588a79c13d 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")]