diff --git a/ChangeLog b/ChangeLog index 994ed22229..e5d8b83d65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Dec 18 02:35:00 2012 Zachary Scott + + * lib/matrix.rb (#dup): typo in example [ruby-core:50946][Bug #7582] + Mon Dec 17 18:03:34 2012 Charlie Somerville * class.c (rewrite_cref_stack, clone_method): rewrite a method's cref diff --git a/lib/matrix.rb b/lib/matrix.rb index 3e61157c3f..cf23d4159d 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -1200,7 +1200,7 @@ class Matrix # l.lower_triangular? # => true # u.upper_triangular? # => true # p.permutation? # => true - # l * u == a * p # => true + # l * u == p * a # => true # a.lup.solve([2, 5]) # => Vector[(1/1), (1/2)] # def lup