Skip to content

Fix SketchBatchNumElements test to clamp with kIntMax#12011

Open
ashutoshk314 wants to merge 3 commits intodmlc:masterfrom
ashutoshk314:fix-sketchbatchnumelements
Open

Fix SketchBatchNumElements test to clamp with kIntMax#12011
ashutoshk314 wants to merge 3 commits intodmlc:masterfrom
ashutoshk314:fix-sketchbatchnumelements

Conversation

@ashutoshk314
Copy link

This PR fixes a mismatch between production and test logic in
SketchBatchNumElements. The test now clamps the expected value
with kIntMax, matching the behavior of the implementation.

Fixes #9716

@trivialfis
Copy link
Member

Please revert the pre-commit fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SketchBatchNumElements minor bugs

4 participants