Python: Reverted to Boost 1.55
This commit is contained in:
16
python/external/boost/libs/numpy/src/numpy.cpp
vendored
16
python/external/boost/libs/numpy/src/numpy.cpp
vendored
@@ -12,19 +12,19 @@ namespace boost
|
||||
namespace numpy
|
||||
{
|
||||
|
||||
#if PY_MAJOR_VERSION == 2
|
||||
static void wrap_import_array() {
|
||||
import_array();
|
||||
}
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
int
|
||||
#else
|
||||
static void * wrap_import_array() {
|
||||
import_array();
|
||||
}
|
||||
void
|
||||
#endif
|
||||
do_import_array()
|
||||
{
|
||||
import_array();
|
||||
}
|
||||
|
||||
void initialize(bool register_scalar_converters)
|
||||
{
|
||||
wrap_import_array();
|
||||
do_import_array();
|
||||
import_ufunc();
|
||||
if (register_scalar_converters)
|
||||
dtype::register_scalar_converters();
|
||||
|
Reference in New Issue
Block a user