diff --git a/python/xmatch_hi.py b/python/xmatch_hi.py index bed7d8f..a443249 100644 --- a/python/xmatch_hi.py +++ b/python/xmatch_hi.py @@ -128,7 +128,7 @@ z=redshift_names[i] - if (np.float(z) >= zmin) and (np.float(z) <= zmax): + if (float(z) >= zmin) and (float(z) <= zmax): # for final slices file mask_z[i] = True