summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-16 08:26:06 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-16 08:26:06 +0000
commit684115fa9cc610f4ce5ae9a5c9a4c424161ccfd3 (patch)
tree0eb2012a503b333c12319e4d7dfaa0c151b1e619
parentce897307b0837ec5c1fc75fdc8ccf1f168741dbe (diff)
* lib/matrix.rb (Matrix#/): Fix was is obviously a bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24962 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 ba9445437c..dd6cb44c96 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep 16 17:25:43 2009 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
+
+ * lib/matrix.rb (Matrix#/): Fix was is obviously a bug
+
Wed Sep 16 16:51:05 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_thread_start_timer): start to catch SIGVTALRM together
diff --git a/lib/matrix.rb b/lib/matrix.rb
index 7f117ceecb..22fa170ba5 100644
--- a/lib/matrix.rb
+++ b/lib/matrix.rb
@@ -545,7 +545,7 @@ class Matrix
return self * other.inverse
else
x, y = other.coerce(self)
- rerurn x / y
+ return x / y
end
end