Skip to content

Commit 0e400e7

Browse files
committed
Camel-case another variable.
1 parent 63c73f4 commit 0e400e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/LUDecomposition.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,16 +159,16 @@ public function solve(array $known)
159159

160160
// Solve L * y = b for y (forward substitution)
161161
for ($i = 0; $i < $rowCount; ++$i) {
162-
$this_b = $known[$this->permutations[$i]]; // Unscramble the permutations
163-
if ($skip && $this_b == 0) { // Leading zeroes in b give zeroes in y.
162+
$thisB = $known[$this->permutations[$i]]; // Unscramble the permutations
163+
if ($skip && $thisB == 0) { // Leading zeroes in b give zeroes in y.
164164
$y[$i] = 0;
165165
} else {
166166
if ($skip) {
167167
// We found a non-zero element, so don't skip any more.
168168
$skip = false;
169169
}
170170

171-
$y[$i] = $this_b;
171+
$y[$i] = $thisB;
172172

173173
for ($j = 0; $j < $i; ++$j) {
174174
$y[$i] = $y[$i] - $this->get($i, $j) * $y[$j];

0 commit comments

Comments
 (0)