Skip to content

Commit

Permalink
Fixes to multiple factorization
Browse files Browse the repository at this point in the history
  • Loading branch information
danog authored Mar 16, 2018
1 parent 1a1c527 commit 58e13d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/danog/PrimeModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public static function native_single_cpp($what)
public static function native_cpp($what)
{
$res = [self::native_single_cpp($what)];
if ($res[0] === false) {
if ($res[0] == false) {
return false;
}
while (array_product($res) !== $what) {
Expand Down

0 comments on commit 58e13d0

Please sign in to comment.