[前][次][番号順一覧][スレッド一覧]

ruby-changes:26374

From: zzak <ko1@a...>
Date: Tue, 18 Dec 2012 02:37:07 +0900 (JST)
Subject: [ruby-changes:26374] zzak:r38425 (trunk): * lib/matrix.rb (#dup): typo in example [Bug #7582]

zzak	2012-12-18 02:36:56 +0900 (Tue, 18 Dec 2012)

  New Revision: 38425

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38425

  Log:
    * lib/matrix.rb (#dup): typo in example [ruby-core:50946][Bug #7582]

  Modified files:
    trunk/ChangeLog
    trunk/lib/matrix.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38424)
+++ ChangeLog	(revision 38425)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Dec 18 02:35:00 2012  Zachary Scott  <zachary@z...>
+
+	* lib/matrix.rb (#dup): typo in example [ruby-core:50946][Bug #7582]
+
 Mon Dec 17 18:03:34 2012  Charlie Somerville  <charlie@c...>
 
 	* class.c (rewrite_cref_stack, clone_method): rewrite a method's cref
Index: lib/matrix.rb
===================================================================
--- lib/matrix.rb	(revision 38424)
+++ lib/matrix.rb	(revision 38425)
@@ -1200,7 +1200,7 @@ class Matrix https://github.com/ruby/ruby/blob/trunk/lib/matrix.rb#L1200
   #   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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]