Skip to content

[tree] properly copy entry list, also queried indices #19036

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ferdymercury
Copy link
Collaborator

@ferdymercury ferdymercury commented Jun 13, 2025

This Pull request:

Changes or fixes:

Fixes #13338

fyi @romainbqt

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

@ferdymercury ferdymercury requested a review from pcanal as a code owner June 13, 2025 18:12
Copy link

Test Results

    19 files      19 suites   3d 8h 38m 15s ⏱️
 2 809 tests  2 809 ✅ 0 💤 0 ❌
51 875 runs  51 875 ✅ 0 💤 0 ❌

Results for commit 87d6950.

@ferdymercury ferdymercury requested a review from dpiparo June 15, 2025 18:30
@devajithvs devajithvs assigned dpiparo and pcanal and unassigned dpiparo Jun 16, 2025
Comment on lines +1267 to +1268
elist->fLastIndexQueried = fLastIndexQueried;
elist->fLastIndexReturned = fLastIndexReturned;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most other places, we seem to be using:

Suggested change
elist->fLastIndexQueried = fLastIndexQueried;
elist->fLastIndexReturned = fLastIndexReturned;
elist->fLastIndexQueried = -1;
elist->fLastIndexReturned = 0;

why is it different here? (especially since I am not sure whether LastIndex returns is likely to need to be expressed in local entry number)

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.

Bug: TEntryList and TTree inconsitency of entry number returned by tree if entry list has been already used
3 participants