1
0
mirror of https://github.com/kalmarek/SmallHyperbolic synced 2024-11-30 17:15:28 +01:00

fix script

This commit is contained in:
kalmarek 2020-05-26 01:14:19 +02:00
parent ab6e4ff809
commit a82b1af8f7
No known key found for this signature in database
GPG Key ID: 8BF1A3855328FC15

View File

@ -8,7 +8,8 @@ const p = try
@assert length(ARGS) == 2 && ARGS[1] == "-p"
p = parse(Int, ARGS[2])
RamanujanGraphs.Primes.isprime(p)
@assert p % 4 == 1
# @assert p % 4 == 1
p
catch ex
@error "You need to provide a prime `-p` which is congruent to 1 mod 4."
rethrow(ex)