diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-20 19:01:44 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-20 19:01:44 +0000 |
commit | 86a81951b1f695db07e9d2a760c3fd196ee58224 (patch) | |
tree | 8e6f74fca0d6fa96b591bcd9624882b50146bdf5 /lib | |
parent | 439a1e64d17d31ba53ed097a432ecc0df522a0fb (diff) | |
download | ruby-86a81951b1f695db07e9d2a760c3fd196ee58224.tar.gz |
* lib/matrix.rb (transpose, inspect): Bug fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/matrix.rb | 3 |
1 files changed, 1 insertions, 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 |