boostorg / boostorg/python

Error: did not match C++ signature

Offen
#279 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
537
Forks
223
Ø Merge
11 Std. 22 Min.
Gemergte PRs (30 T.)
2

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.