Skip to content

Commit fb25659

Browse files
committed
Scipy: removed Py_DECREF for lower and upper bounds, calling it to pybounds is enogh
1 parent d60808d commit fb25659

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

math/scipy/src/ScipyMinimizer.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,6 @@ bool ScipyMinimizer::Minimize()
270270
return false;
271271
}
272272
// PyPrint(result);
273-
Py_DECREF(pylimits_lower);
274-
Py_DECREF(pylimits_upper);
275273
Py_DECREF(pybounds);
276274
Py_DECREF(args);
277275
Py_DECREF(kw);

0 commit comments

Comments
 (0)