diff options
author | Patrick Simianer <p@simianer.de> | 2014-05-05 19:31:16 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-05-05 19:31:16 +0200 |
commit | e93a146c1ef9af9ebbc9f5a7aff5eac0e7650853 (patch) | |
tree | 942cb6cd8c709afacc021bd5828e0c706a6fb4c2 /intersect.rb | |
parent | 6f8e0a8a93f6bded52d818f8c510e40c2e0700d6 (diff) |
proper cky+
Diffstat (limited to 'intersect.rb')
-rw-r--r-- | intersect.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intersect.rb b/intersect.rb index 23d8fdb..8dcfc76 100644 --- a/intersect.rb +++ b/intersect.rb @@ -151,7 +151,7 @@ end def visit n n.times { |i| 0.upto(n-(i+2)) { |j| - yield j, j+i+2 if block_given? + yield j, j+i+1 if block_given? } } end |