File tree 1 file changed +2
-2
lines changed
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
298
298
template <> struct select_npy_type <uint64_t > { const static NPY_TYPES type = NPY_UINT64; };
299
299
300
300
template <typename Numeric>
301
- inline PyObject* get_array (const std::vector<Numeric>& v)
301
+ PyObject* get_array (const std::vector<Numeric>& v)
302
302
{
303
303
detail::_interpreter::get (); // interpreter needs to be initialized for the numpy commands to work
304
304
NPY_TYPES type = select_npy_type<Numeric>::type;
@@ -343,7 +343,7 @@ PyObject* get_2darray(const std::vector<::std::vector<Numeric>>& v)
343
343
#else // fallback if we don't have numpy: copy every element of the given vector
344
344
345
345
template <typename Numeric>
346
- inline PyObject* get_array (const std::vector<Numeric>& v)
346
+ PyObject* get_array (const std::vector<Numeric>& v)
347
347
{
348
348
PyObject* list = PyList_New (v.size ());
349
349
for (size_t i = 0 ; i < v.size (); ++i) {
You can’t perform that action at this time.
0 commit comments