From 3290e2c585aab9edad7e4de0b852ef334ca1f83c Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 25 Jun 2020 08:29:36 +0200 Subject: [PATCH] handle even obscure directions --- python/damask/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/damask/util.py b/python/damask/util.py index 8668a9060..733fd0010 100644 --- a/python/damask/util.py +++ b/python/damask/util.py @@ -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."""