-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: 6.19/01
-
Component/s: None
-
Labels:None
-
Environment:
Python3, Centos7
The following code:
auto df = ROOT::RDataFrame(10); |
auto df2 = df.Define("_nMu", "1"); |
auto df3 = df2.Define("nLeptons", "_nMu"); |
produces this error:
terminate called after throwing an instance of 'std::runtime_error' |
what(): Failed to tokenize expression:
|
_nMu
|
It seems the error is related to the leading underscore of the _nMu branch: if the branch is named nMu, the error does not appear.