diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-10 17:09:40 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-10 17:09:40 +0000 |
commit | e8a0cb6e53f92c1fc81be638745e41ec538d09e0 (patch) | |
tree | fdd8b1163b1dbaa9dbbd3c806346f86045c29d33 | |
parent | 0eb452d7e57f5eeef1ab7da888f9b9658f02d9b7 (diff) | |
download | ruby-e8a0cb6e53f92c1fc81be638745e41ec538d09e0.tar.gz |
merges r24961 from trunk into ruby_1_9_1.
--
* lib/matrix.rb (Matrix#/): Fix obvious bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/matrix.rb | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -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 13:39:10 2009 Marc-Andre Lafortune <ruby-core@marc-andre.ca> * lib/matrix.rb (determinant): Bug fix where determinant failed on diff --git a/lib/matrix.rb b/lib/matrix.rb index 6fbaacb4be..88ccbca6b0 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -559,7 +559,7 @@ class Matrix return self * other.inverse else x, y = other.coerce(self) - rerurn x / y + return x / y end end @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.1" -#define RUBY_PATCHLEVEL 333 +#define RUBY_PATCHLEVEL 334 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 |