Skip to content

Commit

Permalink
Make 8.2 linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Aweptimum committed Nov 6, 2023
1 parent cd45a97 commit 7c75688
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/LinearAlgebra/Eigenvector.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ public static function eigenvectors(NumericMatrix $A, array $eigenvalues = []):
// If this is a duplicate eigenvalue, and this is the second instance, the first
// pass already found all the vectors.
$key = false;
foreach (\array_column($solution_array, 'eigenvalue') as $i => $v)
{
foreach (\array_column($solution_array, 'eigenvalue') as $i => $v) {
if (Arithmetic::almostEqual($v, $eigenvalue, $A->getError())) {
$key = $i;
break;
Expand Down

0 comments on commit 7c75688

Please sign in to comment.