ruby-changes:39256
From: hsbt <ko1@a...>
Date: Wed, 22 Jul 2015 17:50:56 +0900 (JST)
Subject: [ruby-changes:39256] hsbt:r51337 (trunk): * lib/matrix/eigenvalue_decomposition.rb: refine code style.
hsbt 2015-07-22 17:50:41 +0900 (Wed, 22 Jul 2015) New Revision: 51337 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51337 Log: * lib/matrix/eigenvalue_decomposition.rb: refine code style. [fix GH-959][ci skip] Patch by @bogdanvlviv Modified files: trunk/ChangeLog trunk/lib/matrix/eigenvalue_decomposition.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 51336) +++ ChangeLog (revision 51337) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Jul 22 17:50:35 2015 SHIBATA Hiroshi <hsbt@r...> + + * lib/matrix/eigenvalue_decomposition.rb: refine code style. + [fix GH-959][ci skip] Patch by @bogdanvlviv + Wed Jul 22 15:48:47 2015 SHIBATA Hiroshi <hsbt@r...> * test/ruby/test_range.rb: Add test case for Range#end with Index: lib/matrix/eigenvalue_decomposition.rb =================================================================== --- lib/matrix/eigenvalue_decomposition.rb (revision 51336) +++ lib/matrix/eigenvalue_decomposition.rb (revision 51337) @@ -458,7 +458,7 @@ class Matrix https://github.com/ruby/ruby/blob/trunk/lib/matrix/eigenvalue_decomposition.rb#L458 high = nn-1 eps = Float::EPSILON exshift = 0.0 - p=q=r=s=z=0 + p = q = r = s = z = 0 # Store roots isolated by balanc and compute matrix norm -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/