Include math.h first to avoid Python _hypot redefinition bug

This commit is contained in:
Edward Diener
2016-11-07 15:33:55 -05:00
parent 904e2f5020
commit 612563e0fe

View File

@@ -2,6 +2,7 @@
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <math.h>
#include <boost/python.hpp>
#include <boost/parameter/preprocessor.hpp>
#include <boost/parameter/keyword.hpp>