Code Duplication    Length = 3-3 lines in 2 locations

src/Phpml/Math/LinearAlgebra/EigenvalueDecomposition.php 2 locations

@@ 832-834 (lines=3) @@
829
                for ($i = $n - 1; $i >= 0; --$i) {
830
                    $w = $this->H[$i][$i] - $p;
831
                    $r = 0.0;
832
                    for ($j = $l; $j <= $n; ++$j) {
833
                        $r = $r + $this->H[$i][$j] * $this->H[$j][$n];
834
                    }
835
836
                    if ($this->e[$i] < 0.0) {
837
                        $z = $w;
@@ 865-867 (lines=3) @@
862
                        // Overflow control
863
                        $t = abs($this->H[$i][$n]);
864
                        if (($eps * $t) * $t > 1) {
865
                            for ($j = $i; $j <= $n; ++$j) {
866
                                $this->H[$j][$n] = $this->H[$j][$n] / $t;
867
                            }
868
                        }
869
                    }
870
                }