Passed
Pull Request — master (#146)
by Tomáš
02:12
created
src/Phpml/Math/LinearAlgebra/EigenvalueDecomposition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 /**
5 5
  *	Class to obtain eigenvalues and eigenvectors of a real matrix.
6 6
  *
@@ -842,7 +842,7 @@  discard block
 block discarded – undo
842 842
 
843 843
         // Always return the eigenvectors of length 1.0
844 844
         $vectors = new Matrix($vectors);
845
-        $vectors = array_map(function ($vect) {
845
+        $vectors = array_map(function($vect) {
846 846
             $sum = 0;
847 847
             for ($i = 0; $i < count($vect); ++$i) {
848 848
                 $sum += $vect[$i] ** 2;
Please login to merge, or discard this patch.