aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-16 08:24:15 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-16 08:24:15 +0000
commit405cfda0d225cca0a87ee51d8380a11b336b0b8c (patch)
treee5839f24070edfe642d372a91851b01758c35035
parente353346e14fd765b9ecab512025e25471ba1d762 (diff)
downloadruby-405cfda0d225cca0a87ee51d8380a11b336b0b8c.tar.gz
* lib/matrix.rb (Matrix#/): Fix obvious bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--lib/matrix.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d2bb6bf4b..759ff18930 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep 16 17:20:49 2009 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
+
+ * lib/matrix.rb (Matrix#/): Fix obvious bug
+
Wed Sep 16 16:59:34 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub (DOCTARGETS): rdoc is default.
diff --git a/lib/matrix.rb b/lib/matrix.rb
index 33e5eadb59..bb2d9af36d 100644
--- a/lib/matrix.rb
+++ b/lib/matrix.rb
@@ -546,7 +546,7 @@ class Matrix
return self * other.inverse
else
x, y = other.coerce(self)
- rerurn x / y
+ return x / y
end
end