From da46adc4fdcb52b855e369d75e47ddfec9c1f158 Mon Sep 17 00:00:00 2001 From: Gage Larsen Date: Wed, 26 Sep 2018 19:21:06 -0600 Subject: [PATCH] Wrong type --- xmscore/python/misc/PyUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmscore/python/misc/PyUtils.cpp b/xmscore/python/misc/PyUtils.cpp index 43a818ef9..900a7cc5b 100644 --- a/xmscore/python/misc/PyUtils.cpp +++ b/xmscore/python/misc/PyUtils.cpp @@ -61,7 +61,7 @@ py::tuple PyIterFromPt3d(const Pt3d& pt) /// \param[in] pt: py::iterable object that represents a Pt2d /// \return a boost::shared_ptr to a Pt2d //------------------------------------------------------------------------------ -Pt3d Pt2dFromPyIter(const py::tuple& pt) +Pt2d Pt2dFromPyIter(const py::tuple& pt) { if(py::len(pt) > 2 || py::len(pt) < 0) { // 0 check might not be needed but just to be safe throw py::type_error("Input point should be a an empty tuple, or a 1, or 2 tuple");