-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot directly use cppyy.gbl.std.complex['double'] with Python int #277
Comments
The reason why it used to work and no longer does may be that the global
Retrieving templated methods from Cling is unfortunately guess work. I've been bugging them for years to be able to either match templates by category or by getting better information out of Cling to do my own matching. |
Thank you very much. I understand the situation. Unfortunately,
For the moment, I will explicitly convert
|
That may be on ROOT (which is following cppyy master more closely these days, but it's not the same): I don't see such an error message in cppyy master. Recommend to report it there. |
Thank you. Done. |
I remember that I was able to use std::complex in Python seamlessly together with Python int and float before. However, recent cppyy does not accept binary operations between Python int and std::complex. When adding them,
NotImplementedError
is emitted. When dividing Python int by std::complex, it causes a segmentation fault.This happens on at least
The text was updated successfully, but these errors were encountered: