摘要: cython调用C代码的一个错误 expected 'int' but got 'long',原因不复杂,C code的int为32bit, 而pandas df缺省为np.int64 (64bit),有个参数传递了数组,指针类型就不符了。 两个解决方案 C代码里面所有相关的int改为long lo 阅读全文
posted @ 2023-04-07 20:26 daidau 阅读(79) 评论(0) 推荐(0) 编辑