Je suis en cours d'exécution dans ce problème:incompatibilité de type argument Boost.Python (numpy.int64 -> int)
Boost.Python.ArgumentError: Python argument types in
Dirichlet.Observe(int, numpy.int64, float)
did not match C++ signature:
Observe(unsigned int, unsigned int, double)
Semble assez proche? Après un remplacement, il semble que l'argument du milieu est le problème. Comment convertir numpy.int64 en int?
Un int64 est loin d'être un entier non signé. C'est un peu comme essayer d'emballer un int dans un octet. –
@anon, sûrement, il pourrait le tronquer. –