Commit 323c2636 authored by Martin Reinecke's avatar Martin Reinecke

fix

parent ee492217
......@@ -329,9 +329,9 @@ class PyGridderConfig: public GridderConfig
}
py::array apply_taper(const py::array &img, bool divide) const
{
if (isPytype<complex<float>>(img))
if (isPytype<float>(img))
return apply_taper2<float>(img, divide);
if (isPytype<complex<double>>(img))
if (isPytype<double>(img))
return apply_taper2<double>(img, divide);
myfail("type matching failed: 'img' has neither type 'f4' nor 'f8'");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment