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:
wmayer
2020-07-17 11:11:27 +02:00
parent 8ceac9cf55
commit 07d2e08920

View File

@@ -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
}