From 323c26361e5c4c7a7ba4f0e0a6663adf75adf83b Mon Sep 17 00:00:00 2001 From: Martin Reinecke Date: Mon, 14 Oct 2019 12:29:55 +0200 Subject: [PATCH] fix --- nifty_gridder.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nifty_gridder.cc b/nifty_gridder.cc index 4cc3aab..c84f07b 100644 --- a/nifty_gridder.cc +++ b/nifty_gridder.cc @@ -329,9 +329,9 @@ class PyGridderConfig: public GridderConfig } py::array apply_taper(const py::array &img, bool divide) const { - if (isPytype>(img)) + if (isPytype(img)) return apply_taper2(img, divide); - if (isPytype>(img)) + if (isPytype(img)) return apply_taper2(img, divide); myfail("type matching failed: 'img' has neither type 'f4' nor 'f8'"); } -- GitLab