From f2a997d858225463edc693a70098f29e6951999f Mon Sep 17 00:00:00 2001 From: zzak Date: Mon, 17 Dec 2012 17:36:56 +0000 Subject: [PATCH] * lib/matrix.rb (#dup): typo in example [ruby-core:50946][Bug #7582] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ lib/matrix.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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