From d0a1d94bda3f65c9633a7bd1929f43308c8ae77d Mon Sep 17 00:00:00 2001 From: Moritz Huebner <moritz.huebner@ligo.org> Date: Tue, 30 Apr 2019 19:32:49 -0500 Subject: [PATCH] Fixed recently introduced bug --- bilby/core/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bilby/core/utils.py b/bilby/core/utils.py index ef1bec99b..b9a9dba3b 100644 --- a/bilby/core/utils.py +++ b/bilby/core/utils.py @@ -785,7 +785,7 @@ class UnsortedInterp2d(interp2d): """ unsorted_idxs = np.argsort(np.argsort(x)) - return interp2d.__call__(self, x, y, dx=dx, dy=dy, assume_sorted=False)[unsorted_idxs, :] + return interp2d.__call__(self, x, y, dx=dx, dy=dy, assume_sorted=False)[unsorted_idxs] # Instantiate the default argument parser at runtime -- GitLab