summaryrefslogtreecommitdiff
path: root/capset.go
diff options
context:
space:
mode:
Diffstat (limited to 'capset.go')
-rw-r--r--capset.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/capset.go b/capset.go
index 0f5af79..a26f815 100644
--- a/capset.go
+++ b/capset.go
@@ -36,7 +36,7 @@ func NewDeck(dimensions int) *Deck {
card2index: make(map[Card]int, size),
}
for i := range d.cards {
- card := d.computeInt2Card(size - i - 1)
+ card := d.computeInt2Card(i)
d.cards[i] = card
d.card2index[card] = i
}