aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/matrix.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/matrix.rb b/lib/matrix.rb
index fe61b6d120..eaa4bfc6e1 100644
--- a/lib/matrix.rb
+++ b/lib/matrix.rb
@@ -1118,7 +1118,7 @@ class Matrix
# => 67 96
# 48 99
#
- def ** (other)
+ def **(other)
case other
when Integer
x = self
@@ -1644,7 +1644,7 @@ class Matrix
end
end
- def / (other)
+ def /(other)
case other
when Numeric
Scalar.new(@value / other)
@@ -1657,7 +1657,7 @@ class Matrix
end
end
- def ** (other)
+ def **(other)
case other
when Numeric
Scalar.new(@value ** other)