From 71bbc0db5fed08aa98fd68bcc6f4bd6fe8f7d0c1 Mon Sep 17 00:00:00 2001 From: Samer Afach Date: Thu, 12 Jan 2017 20:49:53 +0100 Subject: [PATCH] Added flush to _print_error() --- spintrum/spintrum.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spintrum/spintrum.py b/spintrum/spintrum.py index 58d73b3..43104d3 100644 --- a/spintrum/spintrum.py +++ b/spintrum/spintrum.py @@ -8,6 +8,7 @@ import mpmath def _print_error(msg_str): sys.stderr.write(msg_str + "\n") + sys.stderr.flush() try: