diff options
Diffstat (limited to 'sample/mine.rb')
-rw-r--r-- | sample/mine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/mine.rb b/sample/mine.rb index 7d02e5bfc9..8fc27e0c6d 100644 --- a/sample/mine.rb +++ b/sample/mine.rb @@ -81,7 +81,7 @@ class Board elsif y < 0 then 0 elsif y >= @hi then 0 else - @data[x*@wi+y] + @data[y*@wi+x] end end def count(x,y) |