comparison oct-py-init.cc @ 410:95c6ad0be828

Delete unused boost::python::numeric includes and initialization * oct-py-init.cc (pytave::py_init): Remove unused initialization of boost::python::numeric. * pycall.cc, pyeval.cc, pyexec.cc, python_to_octave.cc: Remove "#include <boost/python/numeric.hpp>".
author Mike Miller <mtmiller@octave.org>
date Tue, 02 May 2017 17:40:01 -0700
parents 78448e4de20a
children db29823a8919
comparison
equal deleted inserted replaced
409:b9b8790d1082 410:95c6ad0be828
51 Py_Initialize (); 51 Py_Initialize ();
52 52
53 if (! is_initialized) 53 if (! is_initialized)
54 PySys_SetArgvEx (1, sys_argv, 0); 54 PySys_SetArgvEx (1, sys_argv, 0);
55 55
56 // FIXME: these are only needed for Boost.Python implicit conversion 56 // FIXME: this is needed for use of NumPy array object C API
57 // of Octave arrays to NumPy arrays
58 boost::python::numeric::array::set_module_and_type ("numpy", "ndarray");
59 _import_array (); 57 _import_array ();
60 } 58 }
61 59
62 } 60 }