Clamp uniform quantiles monotonically - #539
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #539 +/- ##
==========================================
- Coverage 65.45% 65.43% -0.02%
==========================================
Files 121 121
Lines 7060 7060
==========================================
- Hits 4621 4620 -1
- Misses 2439 2440 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
BJMCox
marked this pull request as ready for review
August 16, 2026 09:13
BJMCox
force-pushed
the
fix-538-uniform-endpoint-clipping
branch
3 times, most recently
from
September 1, 2026 13:20
5ee16be to
60c2216
Compare
BJMCox
force-pushed
the
fix-538-uniform-endpoint-clipping
branch
2 times, most recently
from
September 1, 2026 13:38
fe10148 to
92de65e
Compare
BJMCox
force-pushed
the
fix-538-uniform-endpoint-clipping
branch
from
September 1, 2026 17:00
92de65e to
c077ca0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #538.
Clamp StandardUvUniform inputs to the input type's floating-point interval [eps(R), 1 - eps(R)] before inverse-CDF evaluation. This keeps infinite-support quantiles finite and preserves monotonicity without coupling the transform to an AD package.
Main code: +4/-4.