mirror of
https://github.com/kalmarek/SmallHyperbolic
synced 2025-02-25 12:30:51 +01:00
fix script
This commit is contained in:
parent
ab6e4ff809
commit
a82b1af8f7
@ -8,7 +8,8 @@ const p = try
|
|||||||
@assert length(ARGS) == 2 && ARGS[1] == "-p"
|
@assert length(ARGS) == 2 && ARGS[1] == "-p"
|
||||||
p = parse(Int, ARGS[2])
|
p = parse(Int, ARGS[2])
|
||||||
RamanujanGraphs.Primes.isprime(p)
|
RamanujanGraphs.Primes.isprime(p)
|
||||||
@assert p % 4 == 1
|
# @assert p % 4 == 1
|
||||||
|
p
|
||||||
catch ex
|
catch ex
|
||||||
@error "You need to provide a prime `-p` which is congruent to 1 mod 4."
|
@error "You need to provide a prime `-p` which is congruent to 1 mod 4."
|
||||||
rethrow(ex)
|
rethrow(ex)
|
||||||
|
Loading…
Reference in New Issue
Block a user