summaryrefslogtreecommitdiff
path: root/lib/matrix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/matrix.rb')
-rw-r--r--lib/matrix.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/matrix.rb b/lib/matrix.rb
index 4767b4b..bca6c40 100644
--- a/lib/matrix.rb
+++ b/lib/matrix.rb
@@ -221,7 +221,6 @@ class Matrix
row[j] = values[j]
row
}
- self
rows(rows, FALSE)
end
@@ -875,7 +874,7 @@ class Vector
# ARITHMETIC
- def *(x) "is matrix or number"
+ def *(x) # is matrix or number
case x
when Numeric
els = @elements.collect{|e| e * x}