| @@ -2043,9 +2043,9 @@ | ||
| 2043 | 2043 | |
| 2044 | 2044 | if ($this->_compare($result, false, $temp[MATH_BIGINTEGER_VALUE], $temp[MATH_BIGINTEGER_SIGN]) < 0) { |
| 2045 | 2045 | $corrector_value = $this->_array_repeat(0, $n_length + 1); |
| 2046 | 2046 | $corrector_value[] = 1; |
| 2047 | - $result = $this->_add($result, false, $corrector, false); | |
| 2047 | + $result = $this->_add($result, false, $corrector_value, false); | |
| 2048 | 2048 | $result = $result[MATH_BIGINTEGER_VALUE]; |
| 2049 | 2049 | } |
| 2050 | 2050 | |
| 2051 | 2051 | // at this point, we're subtracting a number with m.length + 1 digits from another number with m.length + 1 digits |