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
in pybind11.h, in initialize_generic the relevant line should be a.descr = strdup(repr(a.value).cast<std::string>().c_str());
otherwise error is thrown with for example type objects ImportError: TypeError: descriptor '__repr__' of 'float' object needs an argument
The text was updated successfully, but these errors were encountered:
in pybind11.h, in
initialize_generic
the relevant line should bea.descr = strdup(repr(a.value).cast<std::string>().c_str());
otherwise error is thrown with for example type objects
ImportError: TypeError: descriptor '__repr__' of 'float' object needs an argument
The text was updated successfully, but these errors were encountered: