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 + + * lib/matrix.rb (Matrix#/): Fix obvious bug + Wed Sep 16 16:59:34 2009 NAKAMURA Usaku * 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