summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-22 08:50:41 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-22 08:50:41 +0000
commiteb0e81fc8fe2c858dd1e6e904ecb599b40329241 (patch)
treebd051aafe4d4daf69af04b40561c8c1082a5b20e
parentd11a93c0d18fbdbc6280402118631c6b437fb07b (diff)
* lib/matrix/eigenvalue_decomposition.rb: refine code style.
[fix GH-959][ci skip] Patch by @bogdanvlviv git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/matrix/eigenvalue_decomposition.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 15c91e66cff..0ccecf2a6c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jul 22 17:50:35 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
+
+ * 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@ruby-lang.org>
* test/ruby/test_range.rb: Add test case for Range#end with
diff --git a/lib/matrix/eigenvalue_decomposition.rb b/lib/matrix/eigenvalue_decomposition.rb
index ab353ecf611..a92b49c1e0a 100644
--- a/lib/matrix/eigenvalue_decomposition.rb
+++ b/lib/matrix/eigenvalue_decomposition.rb
@@ -458,7 +458,7 @@ class Matrix
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