mirror of
https://github.com/danog/PrimeModule.git
synced 2024-11-26 20:34:37 +01:00
Fixes to multiple factorization
This commit is contained in:
parent
1a1c52780b
commit
58e13d0a69
@ -215,7 +215,7 @@ class PrimeModule
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user