Andre Allavena wrote:
>  pokereval.poker_eval(game = "holdem", fill_pockets = 1, pockets = [
> ["As", "3s"],  ["__", "__"],  ["__", "__"]], dead = [], board = ["__",
> "Qs", "2c", "Ac", "Kc"])

I got everything working now (or mainly as test.py mostly runs).  But
your example causes an allocation error:
*** glibc detected *** double free or corruption (out):
0x0000000000683410 ***

It is the use of the __ card which is causing the problem.  I took this
line from test.py:

print "result = %s\n" % pokereval.poker_eval(game = "holdem", pockets =
[ ["tc", "ac"],  ["3h", "ah"],  ["8c", "6h"]], dead = [], board = ["7h",
"3s", "2c"])

Which works fine, and simply replaced a few cards with __ and it
produces the error now:

print "result = %s\n" % pokereval.poker_eval(game = "holdem", pockets =
[ ["tc", "ac"],  ["3h", "ah"],  ["__", "__"]], dead = [], board = ["7h",
"3s", "2c"])


-- 
edA-qa mort-ora-y
http://disemia.com/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Have a look in my brain:
        http://brainbrain.eu/
        
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to