diff options
| author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-16 08:26:06 +0000 |
|---|---|---|
| committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-16 08:26:06 +0000 |
| commit | 684115fa9cc610f4ce5ae9a5c9a4c424161ccfd3 (patch) | |
| tree | 0eb2012a503b333c12319e4d7dfaa0c151b1e619 | |
| parent | ce897307b0837ec5c1fc75fdc8ccf1f168741dbe (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-- | ChangeLog | 4 | ||||
| -rw-r--r-- | lib/matrix.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 |
