#ifndef PYTHONIC_INCLUDE_NUMPY_NANSUM_HPP #define PYTHONIC_INCLUDE_NUMPY_NANSUM_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/types/ndarray.hpp" PYTHONIC_NS_BEGIN namespace numpy { template void _nansum(E begin, E end, F &sum, utils::int_<1>); template void _nansum(E begin, E end, F &sum, utils::int_); template typename E::dtype nansum(E const &expr); DEFINE_FUNCTOR(pythonic::numpy, nansum); } PYTHONIC_NS_END #endif