You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Range() is called on a RDF object with a progress bar, the progress bar seems to show all the events instead of reducing the events to the values provided in the Range() call.
Reproducer
voidtest() {
ROOT::RDataFrame df(100);
ROOT::RDF::Experimental::AddProgressBar(df);
auto def = df.Define("x", [](){ returngRandom->Rndm(); });
auto max = def.Range(0, 10);
auto hist = max.Histo1D("x");
std::cout << hist->Integral() << "\n";
}
Check duplicate issues.
Description
When Range() is called on a RDF object with a progress bar, the progress bar seems to show all the events instead of reducing the events to the values provided in the Range() call.
Reproducer
The following code shows:
While the progress bar should ideally show 10/10
ROOT version
Recent master branch
Installation method
git clone + local compilation
Operating system
Ubuntu 23.10
Additional context
No response
The text was updated successfully, but these errors were encountered: