Skip to content

Commit 303c823

Browse files
committed
Fix CI issue
1 parent 6a5e9b7 commit 303c823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/pybind/eager_method.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class PyTensorVoidHook : public egr::TensorVoidHook {
9797
VLOG(3) << "Call PyTensorVoidHook";
9898

9999
try {
100-
PyObject_CallFunctionObjArgs(py_func_);
100+
PyObject_CallFunctionObjArgs(py_func_, nullptr);
101101
} catch (platform::EnforceNotMet& e) {
102102
throw std::move(e);
103103
} catch (std::exception& e) {

0 commit comments

Comments
 (0)