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
As the title says, I encountered this issue when trying to use the function read_vector_history_from_file (io module). Precisely, pycharm returns a TypeError saying the return value of the function (in c++ I assume) is an unregistered type. So basically from what Dominic said it should be an issue of pybind that is unable to convert std::map containers with Eigen types in them. I indeed get the error: TypeError: Unable to convert function return value to a Python type! The signature was (vector_size: int, file_name: str) -> Dict[float, Eigen::Matrix<double,-1,1,0,-1,1>]
I am not very experienced in opening GitHub issues, so please let me know if I should add something to it or present it differently, thanks!
The text was updated successfully, but these errors were encountered:
Hi all!
As the title says, I encountered this issue when trying to use the function
read_vector_history_from_file
(io
module). Precisely, pycharm returns a TypeError saying the return value of the function (in c++ I assume) is an unregistered type. So basically from what Dominic said it should be an issue of pybind that is unable to convert std::map containers with Eigen types in them. I indeed get the error:TypeError: Unable to convert function return value to a Python type! The signature was (vector_size: int, file_name: str) -> Dict[float, Eigen::Matrix<double,-1,1,0,-1,1>]
I am not very experienced in opening GitHub issues, so please let me know if I should add something to it or present it differently, thanks!
The text was updated successfully, but these errors were encountered: