Error: did not match C++ signature
- 主要語言
- C++
- 星號
- 537
- 分支
- 223
- 平均合併
- 11 小時 22 分鐘
- 30 天內合併 PR
- 2
描述
I'm calling a pyd as follows:
`equity` = calculator.montecarlo({"3H", "3S"}, {"8S", "4S", "QH", "8C", "4H"}, 2, 10000) `
but it complains that the signature is just a set but not a set of strings:
```
EquityCalculatorMontecarlo.montecarlo(set, set, int, int)
did not match C++ signature:
montecarlo(class std::set,class std::allocator >,struct std::less,class std::allocator > >,class std::allocator,class std::allocator > > >, class std::set,class std::allocator >,struct std::less,class std::allocator > >,class std::allocator,class std::allocator > > >, int, int)
Any suggestions what I can do about it?
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Start by reproducing the call to EquityCalculatorMontecarlo.montecarlo with the two sets shown and inspect how the C++ signature is exposed to the Python extension. Determine why sets of strings are rejected despite the displayed signature, then document or test the expected conversion behavior; the issue does not name a source file or test.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cpp, python
- 領域
- devtools
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100