Skip to content

Commit e01f95b

Browse files
committed
Scipy: removed compilation warnings
1 parent b089b6b commit e01f95b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

math/scipy/src/ScipyMinimizer.cxx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,12 @@ void ScipyMinimizer::PyInitialize()
114114
"ROOT Scipy parameters", /* module documentation, may be NULL */
115115
-1, /* size of per-interpreter state of the module,
116116
or -1 if the module keeps state in global variables. */
117-
ParamsMethods};
117+
ParamsMethods,
118+
NULL, /* m_slots */
119+
NULL, /* m_traverse */
120+
0, /* m_clear */
121+
NULL /* m_free */
122+
};
118123

119124
auto PyInit_params = [](void) -> PyObject * {
120125
PyObject *m;

0 commit comments

Comments
 (0)