From 748cc6bac8b9033bf3ea181fe3e60bd0dca35254 Mon Sep 17 00:00:00 2001 From: Paul Koch Date: Wed, 25 Dec 2024 11:53:52 -0800 Subject: [PATCH] adfs --- shared/libebm/PartitionOneDimensionalBoosting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/libebm/PartitionOneDimensionalBoosting.cpp b/shared/libebm/PartitionOneDimensionalBoosting.cpp index 8d9a1ade8..63a875705 100644 --- a/shared/libebm/PartitionOneDimensionalBoosting.cpp +++ b/shared/libebm/PartitionOneDimensionalBoosting.cpp @@ -369,7 +369,7 @@ static ErrorEbm Flatten(BoosterShell* const pBoosterShell, EBM_ASSERT(iEdge <= cBins); if(cBins == iEdge) { // this cut would isolate the missing bin, but missing already has a cut - break; + return Error_IllegalParamVal; } } }