Skip to content

Commit 7871c48

Browse files
committed
Fix a compile error (close #123)
1 parent 5b6225d commit 7871c48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/qtrait.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void PyQuanTrait::qtrait(Individual * ind, size_t gen, vectorf & traits) const
114114
}
115115
}
116116

117-
PyObject * res = PyEval_CallObject(m_func.func(), args);
117+
PyObject * res = PyObject_CallObject(m_func.func(), args);
118118
Py_XDECREF(args);
119119

120120
if (res == NULL) {

0 commit comments

Comments
 (0)