handle even obscure directions

This commit is contained in:
Martin Diehl 2020-06-25 08:29:36 +02:00
parent 5d7213b062
commit 3290e2c585
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ def show_progress(iterable,N_iter=None,prefix='',bar_length=50):
def scale_to_coprime(v):
"""Scale vector to co-prime (relatively prime) integers."""
MAX_DENOMINATOR = 1000
MAX_DENOMINATOR = 1000000
def get_square_denominator(x):
"""Denominator of the square of a number."""