From 9e27b4305e2abfb8fb1210ce6336199e820334aa Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sun, 23 Jun 2019 11:32:46 -0500 Subject: [PATCH] BigInteger: !count -> count --- phpseclib/Math/BigInteger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Math/BigInteger.php b/phpseclib/Math/BigInteger.php index 6df4f8b4..179be048 100644 --- a/phpseclib/Math/BigInteger.php +++ b/phpseclib/Math/BigInteger.php @@ -1586,7 +1586,7 @@ class Math_BigInteger $temp_value = array($quotient_value[$q_index]); $temp = $temp->multiply($y); $temp_value = &$temp->value; - if (!count($temp_value)) { + if (count($temp_value)) { $temp_value = array_merge($adjust, $temp_value); }