From 86a81951b1f695db07e9d2a760c3fd196ee58224 Mon Sep 17 00:00:00 2001 From: marcandre Date: Tue, 20 Oct 2009 19:01:44 +0000 Subject: [PATCH] * lib/matrix.rb (transpose, inspect): Bug fix git-svn-id: svn+ssh://ci.ruby-lang.org/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 7c546c3a7a..d62d1338e6 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