Skip to content

Conversation

@ferdymercury
Copy link
Collaborator

BP of #20479

…2 or TH3

Since it's implemented for the 1D version, and for the 2D versions you can call it via raw pointers but not directly via TH2 or TH3.

Functions were marked before as to-do, so no one could be calling them directly since they were already doing nothing and raising error.
Hence, function signature and name were adapted to match the 2D and 3D needed parameters.
Since these are legacy classes, the code from the implemented 1D version was copy-pasted and adapted, but no code modernization was performed, such as avoiding new/delete etc.

Fixes https://root-forum.cern.ch/t/tspectrum2-bac-error-function-not-yet-implemented/64427
I've been hit myself with this, too.
@github-actions
Copy link

Test Results

    20 files      20 suites   3d 10h 37m 39s ⏱️
 3 705 tests  3 704 ✅ 0 💤 1 ❌
72 291 runs  72 290 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit f4d5d5c.

@ferdymercury ferdymercury requested a review from dpiparo November 25, 2025 14:10
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.

2 participants