From ada9e2d2f0072d1eb2dc2d24b03eb9b8724f11f3 Mon Sep 17 00:00:00 2001
From: Reimar Leike <reimar@leike.name>
Date: Thu, 13 Sep 2018 16:41:09 +0200
Subject: [PATCH] revoking some changes of los response where ther was casting
 to int64 of floats

---
 nifty5/library/los_response.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nifty5/library/los_response.py b/nifty5/library/los_response.py
index bda836f4e..b99c9bb81 100644
--- a/nifty5/library/los_response.py
+++ b/nifty5/library/los_response.py
@@ -83,8 +83,8 @@ def _comp_traverse(start, end, shp, dist, lo, mid, hi, erf):
         idx = np.argsort(cdist)
         cdist = cdist[idx]
         add = add[idx]
-        cdist = np.append(np.full(1, dmin, dtype=np.int64), cdist)
-        cdist = np.append(cdist, np.full(1, dmax, dtype=np.int64))
+        cdist = np.append(np.full(1, dmin), cdist)
+        cdist = np.append(cdist, np.full(1, dmax))
         corfac = np.linalg.norm(dir*dist)
         cdist *= corfac
         wgt = np.diff(cdist)
-- 
GitLab