ruby-changes:13205
From: marcandre <ko1@a...>
Date: Wed, 16 Sep 2009 17:26:18 +0900 (JST)
Subject: [ruby-changes:13205] Ruby:r24962 (ruby_1_8): * lib/matrix.rb (Matrix#/): Fix was is obviously a bug
marcandre 2009-09-16 17:26:06 +0900 (Wed, 16 Sep 2009) New Revision: 24962 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24962 Log: * lib/matrix.rb (Matrix#/): Fix was is obviously a bug Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/lib/matrix.rb Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 24961) +++ ruby_1_8/ChangeLog (revision 24962) @@ -1,3 +1,7 @@ +Wed Sep 16 17:25:43 2009 Marc-Andre Lafortune <ruby-core@m...> + + * lib/matrix.rb (Matrix#/): Fix was is obviously a bug + Wed Sep 16 16:51:05 2009 Nobuyoshi Nakada <nobu@r...> * eval.c (rb_thread_start_timer): start to catch SIGVTALRM together Index: ruby_1_8/lib/matrix.rb =================================================================== --- ruby_1_8/lib/matrix.rb (revision 24961) +++ ruby_1_8/lib/matrix.rb (revision 24962) @@ -545,7 +545,7 @@ return self * other.inverse else x, y = other.coerce(self) - rerurn x / y + return x / y end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/