diff options
author | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-06-27 15:46:05 +0000 |
---|---|---|
committer | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-06-27 15:46:05 +0000 |
commit | 56553684679e8160f7fdfaad746fd4b881b8ff3d (patch) | |
tree | d8bf5b249b12b558bfee83cc96a6339073bd5cba /lib/matrix.rb | |
parent | d2d8cb7072649bd305333d719aec37f8bdb43189 (diff) |
* lib/matrix.rb: resolve 'ruby -w' warnings.
* lib/irb/locale.rb: resolve 'ruby -w' warnings.
* lib/irb/multi-irb.rb: resolve 'ruby -w' warnings.
* lib/irb/ruby-lex.rb: fix problem for "\\M-\\..." and "\\C-\\..."
and resolve 'ruby -w' warnings.
* lib/irb/ruby-token.rb: fix typo
* lib/shell/command-processor.rb: resolve 'ruby -w' warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/matrix.rb')
-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 4821bababf..cf2f63765a 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -219,7 +219,6 @@ class Matrix row[j] = values[j] row } - self rows(rows, false) end @@ -897,7 +896,7 @@ class Vector # ARITHMETIC - def *(x) "is matrix or number" + def *(x) case x when Numeric els = @elements.collect{|e| e * x} |