fixed typo in pyopencv_from Point3d

This commit is contained in:
Werner Palfinger 2017-05-30 16:49:23 +02:00 committed by GitHub
parent fdba548858
commit 0f42031b10

View File

@ -1052,7 +1052,7 @@ PyObject* pyopencv_from(const Point2d& p)
template<>
PyObject* pyopencv_from(const Point3d& p)
{
return Py_BuildValue("(ddd)", p.x, p.y, p.y);
return Py_BuildValue("(ddd)", p.x, p.y, p.z);
}
template<typename _Tp> struct pyopencvVecConverter