Skip to content

Commit

Permalink
fix for mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Jan 5, 2025
1 parent 320d39d commit 6308e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/libebm/PartitionOneDimensionalBoosting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ static ErrorEbm Flatten(BoosterShell* const pBoosterShell,
}
EBM_ASSERT(!bNominal);

iEdge = ppBinLast - apBins + 1;
iEdge = reinterpret_cast<const void* const*>(ppBinLast) - reinterpret_cast<const void* const*>(apBins) + 1;

while(true) { // not a real loop
if(bMissing) {
Expand Down

0 comments on commit 6308e24

Please sign in to comment.