PVS: V524 It is odd that the body of 'getLastUKnotIndex' function is fully equivalent to the body of 'getFirstUKnotIndex' function
This commit is contained in:
@@ -738,7 +738,7 @@ Py::Object BSplineCurve2dPy::getLastUKnotIndex(void) const
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
return Py::Long(curve->LastUKnotIndex());
|
||||
#else
|
||||
return Py::Int(curve->FirstUKnotIndex());
|
||||
return Py::Int(curve->LastUKnotIndex());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user