From dbb35e2f00c1db1ab2c4b11af0b1c80b9eb89e64 Mon Sep 17 00:00:00 2001 From: marcandre Date: Tue, 20 Oct 2009 19:01:44 +0000 Subject: * lib/matrix.rb (transpose, inspect): Bug fix git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/matrix.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/matrix.rb b/lib/matrix.rb index 7c546c3a7..d62d1338e 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -147,7 +147,7 @@ class Matrix # 93 66 # def Matrix.columns(columns) - Matrix.rows(columns.transpose, false) + Matrix.rows(columns, false).transpose end # @@ -931,7 +931,6 @@ class Matrix "Matrix#{@rows.inspect}" end end - alias_method :inspect, :to_s # # Converts the obj to an Array. If copy is set to true -- cgit