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
Automatic conversion of a list[tuple[int, int]] to std::vector<std::pair<int, int>> fails in case the function called is a function template. It works in the case of a free function:
$: python repro.py
Using free function:
{(0, 2), (4, 7), (8, 9), }
Using function template:
Traceback (most recent call last):
File "/Users/vpadulan/Programs/rootproject/rootcode/repro.py", line 28, in <module>
ROOT.print_template(33., a)
~~~~~~~~~~~~~~~~~~~^^^^^^^^
TypeError: Template method resolution failed:
Failed to instantiate "print_template(double,std::initializer_list<std::initializer_list<int>>)"
Check duplicate issues.
Description
Automatic conversion of a
list[tuple[int, int]]
tostd::vector<std::pair<int, int>>
fails in case the function called is a function template. It works in the case of a free function:Reproducer
ROOT version
Any
Installation method
Any
Operating system
Any
Additional context
No response
The text was updated successfully, but these errors were encountered: