boost.python参数类型不匹配(数字.int64>内景)

2024-04-24 18:54:16 发布

您现在位置:Python中文网/ 问答频道 /正文

我遇到了这个问题:

Boost.Python.ArgumentError: Python argument types in
    Dirichlet.Observe(int, numpy.int64, float)
did not match C++ signature:
    Observe(unsigned int, unsigned int, double)

好像够近了?在

在做了一些替换之后,似乎中间论点就是问题所在。如何转换数字.int64去内景?在


Tags: innumpymatchnotfloatargumentinttypes