diff --git a/nifty_gridder.cc b/nifty_gridder.cc index 4cc3aab6aa901ee06499d4fa5636f9017bf99a57..c84f07b19ef684c20ee3f041e260d34350bea50b 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'"); }