mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-27 16:37:33 +01:00
removed faulty else, was left prior by accident.
This commit is contained in:
parent
086fc67ecc
commit
9f94d0838a
@ -68,9 +68,8 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [
|
||||
while (Math.sqrt(n) > fac-1) {
|
||||
while (n % fac === 0) {
|
||||
n = Math.round(n / fac);
|
||||
} else {
|
||||
++fac;
|
||||
}
|
||||
++fac;
|
||||
}
|
||||
|
||||
return (n===1?(fac-1):n) === parseInt(ans, 10);
|
||||
|
Loading…
Reference in New Issue
Block a user