1 #ifndef PYTHONIC_INCLUDE_MATH_HYPOT_HPP 2 #define PYTHONIC_INCLUDE_MATH_HYPOT_HPP 3 4 #include "pythonic/include/utils/functor.hpp" 5 #include <cmath> 6 7 #undef hypot 8 // This is a windows defined macro that clash with std::hypot && our hypot 9 // function 10 11 PYTHONIC_NS_BEGIN 12 13 namespace math 14 { 15 DEFINE_FUNCTOR_2(hypot, std::hypot); 16 } 17 PYTHONIC_NS_END 18 19 #endif 20