File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ template <> struct select_npy_type<uint32_t> { const static NPY_TYPES type = NPY
298298template <> struct select_npy_type <uint64_t > { const static NPY_TYPES type = NPY_UINT64; };
299299
300300template <typename Numeric>
301- inline PyObject* get_array (const std::vector<Numeric>& v)
301+ PyObject* get_array (const std::vector<Numeric>& v)
302302{
303303 detail::_interpreter::get (); // interpreter needs to be initialized for the numpy commands to work
304304 NPY_TYPES type = select_npy_type<Numeric>::type;
@@ -343,7 +343,7 @@ PyObject* get_2darray(const std::vector<::std::vector<Numeric>>& v)
343343#else // fallback if we don't have numpy: copy every element of the given vector
344344
345345template <typename Numeric>
346- inline PyObject* get_array (const std::vector<Numeric>& v)
346+ PyObject* get_array (const std::vector<Numeric>& v)
347347{
348348 PyObject* list = PyList_New (v.size ());
349349 for (size_t i = 0 ; i < v.size (); ++i) {
You can’t perform that action at this time.
0 commit comments