File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -181,8 +181,8 @@ namespace eigenpy
181181
182182 // / \brief Copy mat into the Python array using Eigen::Map
183183 template <typename MatrixDerived>
184- static void convert (const Eigen::MatrixBase<MatrixDerived> & mat_,
185- PyArrayObject * pyArray)
184+ static void copy (const Eigen::MatrixBase<MatrixDerived> & mat_,
185+ PyArrayObject * pyArray)
186186 {
187187 const MatrixDerived & mat = const_cast <const MatrixDerived &>(mat_.derived ());
188188
@@ -231,9 +231,9 @@ namespace eigenpy
231231 new (storage) Type (numpyMap);
232232 }
233233
234- static void convert (Type const & mat, PyArrayObject * pyArray)
234+ static void copy (Type const & mat, PyArrayObject * pyArray)
235235 {
236- EigenObjectAllocator<MatType>::convert (mat,pyArray);
236+ EigenObjectAllocator<MatType>::copy (mat,pyArray);
237237 }
238238 };
239239#endif
@@ -266,7 +266,7 @@ namespace eigenpy
266266 }
267267
268268 // Allocate memory
269- EigenObjectAllocator<MatType>::convert (mat,pyArray);
269+ EigenObjectAllocator<MatType>::copy (mat,pyArray);
270270
271271 // Create an instance (either np.array or np.matrix)
272272 return NumpyType::getInstance ().make (pyArray).ptr ();
You can’t perform that action at this time.
0 commit comments