Skip to content

Commit f42a3dc

Browse files
committed
Build with bigint fix
1 parent 94eb1c5 commit f42a3dc

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 = 'dev',
1414

1515
/** @summary version date
1616
* @desc Release date in format day/month/year like '14/04/2022' */
17-
version_date = '29/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}
@@ -178425,6 +178425,30 @@ class TDrawSelectorTuple extends TDrawSelector {
178425178425
/** @summary Returns true if field can be used as array */
178426178426
isArrayBranch(/* tuple, br */) { return false; }
178427178427

178428+
/** @summary Begin of processing */
178429+
Begin(tree) {
178430+
super.Begin(tree);
178431+
this._first_entry = true;
178432+
this._has_bigint = false;
178433+
}
178434+
178435+
/** @summary Process entry */
178436+
Process(entry) {
178437+
if (this._first_entry || this._has_bigint) {
178438+
for (let n = 0; n < this.numBranches(); ++n) {
178439+
const name = this.nameOfBranch(n);
178440+
if (typeof this.tgtobj[name] === 'bigint') {
178441+
this.tgtobj[name] = Number(this.tgtobj[name]);
178442+
this._has_bigint = true;
178443+
}
178444+
}
178445+
}
178446+
178447+
this._first_entry = false;
178448+
178449+
super.Process(entry);
178450+
}
178451+
178428178452
} // class TDrawSelectorTuple
178429178453

178430178454

changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
1. Remove support for deprectaed `TH1K` class
1212
1. Fix - paint frame border mode/size from TCanvas
1313
1. Fix - correctly process `TLeafB` arrays in tree draw #384
14+
1. Fix - convert BigInt before `RNtuple` drawing
1415

1516

1617
## 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 = 'dev',
66

77
/** @summary version date
88
* @desc Release date in format day/month/year like '14/04/2022' */
9-
version_date = '29/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)