Open vepadulano opened 1 month ago
Following the issue
Small update to give further context, the following seemingly similar but subtly different snippet works also for ROOT 6.32
import ROOT
def main():
ROOT.gInterpreter.ProcessLine("const auto myvec = TVectorT<float>();")
print(ROOT.myvec)
if __name__ == "__main__":
raise SystemExit(main())
And it is clear that in this case ProcessLine tries much harder than Declare to automatically load libraries that might be necessary to evaluate the line.
Also, the reproducer from the issue description fails with the same error in ROOT latest master.
Check duplicate issues.
Description
Any code run through
TInterpreter::Declare
that needs symbols fromlibMatrix
ends up inSee the simple reproducer below. Here is what I get with two different ROOT versions on lxplus:
ROOT 6.32.02 (LCG106)
ROOT 6.30.02 (LCG105)
Reproducer
ROOT version
6.32.*
Installation method
Any
Operating system
Any
Additional context
No response