Skip to content

[6.40] [ntuple] Change signature of RRealField::SetQuantized and deprecate old one#22107

Merged
silverweed merged 1 commit intoroot-project:v6-40-00-patchesfrom
root-project-bot:BP_6.40_pull_22084
Apr 30, 2026
Merged

[6.40] [ntuple] Change signature of RRealField::SetQuantized and deprecate old one#22107
silverweed merged 1 commit intoroot-project:v6-40-00-patchesfrom
root-project-bot:BP_6.40_pull_22084

Conversation

@root-project-bot
Copy link
Copy Markdown

Backport of #22084, requested by @silverweed.

Instead of
    SetQuantized(T min, T max, size_t nBits)
use
    SetQuantized(size_t nBits, pair<T, T> valueRange)

Rationale:
- keep nBits in first position to be more consistent with SetTruncated
- prevent mistakes of argument wrong ordering where nBits is passed
  first instead of min.

(cherry picked from commit 900fbdf)
@github-actions
Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 11h 22m 59s ⏱️
 3 849 tests  3 849 ✅ 0 💤 0 ❌
76 022 runs  76 022 ✅ 0 💤 0 ❌

Results for commit 027d6f6.

@silverweed silverweed merged commit 0fb869f into root-project:v6-40-00-patches Apr 30, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants