LGTM: [skip ci] fix: Declaration hides parameter

A local variable hides a parameter. This may be confusing. Consider renaming one of them.
This commit is contained in:
wmayer
2020-07-27 10:57:34 +02:00
parent e727cd3754
commit 44f42a8e2c
23 changed files with 153 additions and 141 deletions

View File

@@ -2051,7 +2051,6 @@ Py::Object FunctionExpression::evaluate(const Expression *expr, int f, const std
if (f == MINVERT) {
Py::Object pyobj = args[0]->getPyValue();
Py::Tuple args;
if (PyObject_TypeCheck(pyobj.ptr(),&Base::MatrixPy::Type)) {
auto m = static_cast<Base::MatrixPy*>(pyobj.ptr())->value();
if (fabs(m.determinant()) <= DBL_EPSILON)