summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-17 17:36:56 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-17 17:36:56 +0000
commitf2a997d858225463edc693a70098f29e6951999f (patch)
treeb3a26adbaee4a299b084b621f03f8299fb1ccdf8 /lib
parent8dcc5ec888b5cdf7634fb717823db6e8ad8cef86 (diff)
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/matrix.rb2
1 files changed, 1 insertions, 1 deletions
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