diff --git a/gsrp_tdoa_hyperres.py b/gsrp_tdoa_hyperres.py
index 8a67ec2ff7536fe3a42405dc4458099a8b2dae9a..729225dfa41b0d7e35e684dc67633ade749d667b 100755
--- a/gsrp_tdoa_hyperres.py
+++ b/gsrp_tdoa_hyperres.py
@@ -81,7 +81,7 @@ def corr(data, pos, w_size, max_tdoa, decimate=1, mode='prepare', hyper=True, ve
         v2[k] = j
     dw_size = (w_size // decimate) & ~1
     if mode == 'prepare':
-        slices = slicer(-(cc_size // 2), cc_size // 2, (num_channels - 1), 16)
+        slices = slicer(-(cc_size // 2), cc_size // 2 + 1, (num_channels - 1), 16)
         tausf = []
         for j in range(len(slices)):
             taus = np.mgrid[slices[j]].reshape(num_channels - 1, -1).astype(np.int16)