Skip to content

Commit

Permalink
removed |x| check in isprime()
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Marrone committed Sep 6, 2011
1 parent 514c8e0 commit c553d7d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core.py
Expand Up @@ -9,7 +9,6 @@ def deltatime():

# Checks if arguent is prime
def isprime(n):
n = abs(int(n))
if n < 2:
return False
if n == 2:
Expand Down

0 comments on commit c553d7d

Please sign in to comment.