Skip to content

PyROOT: wrong overload resolution for C++ functions from python  #11924

@VanyaBelyaev

Description

@VanyaBelyaev
  • Checked for duplicates

Describe the bug

For ROOT 6.27 (LCG dev23 nightly slot) I see a wrong overload resolution for pair of functions that takes argumentof type double and std::complex<double>. The complex veruison of function is invoked, whle double version is ignored:

see here

Expected behavior

I would expect the proper overleoad resolution: the double function is inviked for double argument
and std::complex<double> version is invoked for the complex argument

To Reproduce

see the gist here

Setup

  1. ROOT Version 6.27
  2. LCG dev3 nightly cvmfs slot, x86_64-centos7-gcc12-opt platform

Additional context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions