thomasoa / andrews-deal

Automatically exported from code.google.com/p/andrews-deal
Other
10 stars 6 forks source link

Smartstack fails using on-line example #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the smartstack example from the Deal web site:
deal::input smartstack south balanced hcp 27 27
2.
3.

What is the expected output? What do you see instead?
Expected output is per the example description: a 27 HCP balanced hand

Instead got:
Problem running smartstack: can't read "data(0:0::)": no such element in array
    while executing
"llength $data($id:$suitnum:$len:$val)"
    (procedure "sample" line 10)
    invoked from within
"sample 0"
    ("eval" body line 1)
    invoked from within
"eval $cmd"
    (procedure "docmd" line 6)
    invoked from within
"docmd $cmd 0 $args"
    (procedure "::handFactory::pov0" line 1)
    invoked from within
"$info(factory) sample"

What version of the product are you using? On what operating system?
Deal 3.19
Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by hubbel...@gmail.com on 30 Dec 2014 at 5:01