fixed C++ implementation of Delaunay triangulation and moved it from sample to imgproc.
This commit is contained in:
@@ -58,6 +58,8 @@ typedef vector<Point> vector_Point;
|
||||
typedef vector<Point2f> vector_Point2f;
|
||||
typedef vector<Vec2f> vector_Vec2f;
|
||||
typedef vector<Vec3f> vector_Vec3f;
|
||||
typedef vector<Vec4f> vector_Vec4f;
|
||||
typedef vector<Vec6f> vector_Vec6f;
|
||||
typedef vector<Vec4i> vector_Vec4i;
|
||||
typedef vector<Rect> vector_Rect;
|
||||
typedef vector<KeyPoint> vector_KeyPoint;
|
||||
|
||||
@@ -566,7 +566,7 @@ class FuncInfo(object):
|
||||
amapping = simple_argtype_mapping.get(tp, (tp, "O", "0"))
|
||||
all_cargs.append(amapping)
|
||||
|
||||
if v.args:
|
||||
if v.args and v.py_arglist:
|
||||
# form the format spec for PyArg_ParseTupleAndKeywords
|
||||
fmtspec = "".join([all_cargs[argno][0][1] for aname, argno in v.py_arglist])
|
||||
if v.py_noptargs > 0:
|
||||
|
||||
Reference in New Issue
Block a user