matplotlib-cpp icon indicating copy to clipboard operation
matplotlib-cpp copied to clipboard

Fixed implicit conversion from long to double

Open eduardobehr opened this issue 3 years ago • 0 comments

Caller function has arguments of type long in its signature. Thus, PyLong_FromLong is more appropriate and does not break the code as it was before (runtime_error was being thrown).

This fix was reported by #310 and successfully tested on Linux Fedora.

eduardobehr avatar Dec 27 '22 11:12 eduardobehr