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
committed by Peter Dimov
parent a8cbc63e2a
commit 7f4335062e

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>