Skip to content

Commit d805d8e

Browse files
committed
Build with bigint fix
1 parent 7a8f48c commit d805d8e

3 files changed

Lines changed: 27 additions & 2 deletions

File tree

build/jsroot.js

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const version_id = '7.10.x',
1414

1515
/** @summary version date
1616
* @desc Release date in format day/month/year like '14/04/2022' */
17-
version_date = '28/01/2026',
17+
version_date = '30/01/2026',
1818

1919
/** @summary version id and date
2020
* @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -177868,6 +177868,30 @@ class TDrawSelectorTuple extends TDrawSelector {
177868177868
/** @summary Returns true if field can be used as array */
177869177869
isArrayBranch(/* tuple, br */) { return false; }
177870177870

177871+
/** @summary Begin of processing */
177872+
Begin(tree) {
177873+
super.Begin(tree);
177874+
this._first_entry = true;
177875+
this._has_bigint = false;
177876+
}
177877+
177878+
/** @summary Process entry */
177879+
Process(entry) {
177880+
if (this._first_entry || this._has_bigint) {
177881+
for (let n = 0; n < this.numBranches(); ++n) {
177882+
const name = this.nameOfBranch(n);
177883+
if (typeof this.tgtobj[name] === 'bigint') {
177884+
this.tgtobj[name] = Number(this.tgtobj[name]);
177885+
this._has_bigint = true;
177886+
}
177887+
}
177888+
}
177889+
177890+
this._first_entry = false;
177891+
177892+
super.Process(entry);
177893+
}
177894+
177871177895
} // class TDrawSelectorTuple
177872177896

177873177897

changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Changes in 7.10.x
44
1. Fix - correctly process `TLeafB` arrays in tree draw #384
55
2. Fix - better detect default ranges in `TGraph` histogram
6+
3. Fix - convert BigInt before `RNtuple` drawing
67

78

89
## Changes in 7.10.1

modules/core.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const version_id = '7.10.x',
66

77
/** @summary version date
88
* @desc Release date in format day/month/year like '14/04/2022' */
9-
version_date = '28/01/2026',
9+
version_date = '30/01/2026',
1010

1111
/** @summary version id and date
1212
* @desc Produced by concatenation of {@link version_id} and {@link version_date}

0 commit comments

Comments
 (0)