summaryrefslogtreecommitdiff
path: root/lib/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils.py')
-rw-r--r--lib/utils.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/utils.py b/lib/utils.py
index 504d609..e57cc43 100644
--- a/lib/utils.py
+++ b/lib/utils.py
@@ -1,3 +1,5 @@
+from __future__ import division # confidence high
+
from pytools import parseinput, fileutil
import pyfits
from wcsutil.mappings import basic_wcs
@@ -84,10 +86,10 @@ def diff_angles(a,b):
diff = a - b
if diff > 180.0:
- diff -= 360.0
+ diff -= 360.0
if diff < -180.0:
- diff += 360.0
+ diff += 360.0
return diff