diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-07-01 14:05:37 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-07-01 14:05:37 +0200 |
| commit | c835a568f4f21154995fe79f68a551987d920603 (patch) | |
| tree | 2fa2a2ba4de2e1f843dc7529a3f32df9c339bd04 | |
| parent | 9e4798c68a0f83bc7fecbf94c949c63eb934c2a0 (diff) | |
| download | analyzer-c835a568f4f21154995fe79f68a551987d920603.tar.gz analyzer-c835a568f4f21154995fe79f68a551987d920603.zip | |
increase mpmath precision
| -rw-r--r-- | requirements.txt | 1 | ||||
| -rw-r--r-- | worker.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt index c2793a5..f73baba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ appdirs==1.4.3 cymysql==0.8.9 +gmpy==1.17 mpmath==0.19 packaging==16.8 pika==0.10.0 @@ -10,6 +10,8 @@ from sqlalchemy import create_engine import pika import trueskill +import mpmath +mpmath.mp.dps = 25 # increase if FloatingPointError RABBITMQ_URI = os.environ.get("RABBITMQ_URI") or "amqp://localhost" |
