changing valid condition order, _slidingWindow biginteger

This commit is contained in:
Abhishek Taneja 2016-03-18 16:35:38 +01:00 committed by terrafrost
parent 56acb6723c
commit cb2ccea219

View File

@ -1842,7 +1842,7 @@ class Math_BigInteger
// calculate the appropriate window size. // calculate the appropriate window size.
// $window_size == 3 if $window_ranges is between 25 and 81, for example. // $window_size == 3 if $window_ranges is between 25 and 81, for example.
for ($i = 0, $window_size = 1; $e_length > $window_ranges[$i] && $i < count($window_ranges); ++$window_size, ++$i) { for ($i = 0, $window_size = 1; $i < count($window_ranges) && $e_length > $window_ranges[$i]; ++$window_size, ++$i) {
} }
$n_value = $n->value; $n_value = $n->value;