diff --git a/src/Mod/Part/App/GeometryCurvePyImp.cpp b/src/Mod/Part/App/GeometryCurvePyImp.cpp index e81ae9e4e01a..fca41133d758 100644 --- a/src/Mod/Part/App/GeometryCurvePyImp.cpp +++ b/src/Mod/Part/App/GeometryCurvePyImp.cpp @@ -763,7 +763,7 @@ PyObject* GeometryCurvePy::intersectCC(PyObject *args) if (!curve1.IsNull()) { PyObject *p; double prec = Precision::Confusion(); - if (!PyArg_ParseTuple(args, "O!|d", &(Part::GeometrySurfacePy::Type), &p, &prec)) + if (!PyArg_ParseTuple(args, "O!|d", &(Part::GeometryCurvePy::Type), &p, &prec)) return 0; Handle_Geom_Curve curve2 = Handle_Geom_Curve::DownCast(static_cast(p)->getGeometryPtr()->handle()); GeomAPI_ExtremaCurveCurve intersector(curve1, curve2);