Project

General

Profile

Actions

Bug #1020

closed

Matrix#rank loops in some circumstances

Added by pragdave (Dave Thomas) about 15 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.1p5000 (2009-01-16 trunk 21610) [i386-darwin9.6.0]
Backport:
[ruby-core:21385]

Description

=begin
$ ruby -v -r matrix -e 'p Matrix[ [1,2,3], [4,5,6], [7,8,9] ].rank'
ruby 1.9.1p5000 (2009-01-16 trunk 21610) [i386-darwin9.6.0]
<< loops... >>

The answer should be 2.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0