Skip to content

Commit

Permalink
remove known neg
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Jan 26, 2025
1 parent 30c4e14 commit 0d8a66a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions shared/libebm/PartitionOneDimensionalBoosting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1088,11 +1088,6 @@ template<bool bHessian, size_t cCompilerScores> class PartitionOneDimensionalBoo
EBM_ASSERT(std::isnan(gainParent) || 0 <= gainParent);

const FloatCalc gain = gainMissing + gainNonMissing - gainParent;
if (gain < 0.0) {
printf("GARBAGAGA: %e, %e, %e, %e\n", gain, gainMissing, gainNonMissing, gainParent);
exit(1);
}

totalGain += gain;

++iScore;
Expand Down

0 comments on commit 0d8a66a

Please sign in to comment.