Skip to content

Commit a6d93c3

Browse files
committed
Fix variable reference.
1 parent 0a2d25f commit a6d93c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Matrix.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ protected function choleskyDecomposition()
527527
$S += pow($t[$k][$i], 2);
528528
}
529529

530-
$d = $matrix->get($i, $i) - $S;
530+
$d = $this->get($i, $i) - $S;
531531

532532
if (abs($d) < $ztol) {
533533
$t[$i][$i] = 0;

0 commit comments

Comments
 (0)