Skip to content

Commit

Permalink
PyEAMxx: fix overload issue in pyatmproc.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed Jul 1, 2024
1 parent 24db9af commit 22ef574
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/eamxx/src/python/pyatmproc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ inline void pybind_pyatmproc(pybind11::module& m)
.def("get_field",&PyAtmProc::get_field)
.def("initialize",&PyAtmProc::initialize)
.def("get_params",&PyAtmProc::get_params)
.def("setup_output",&PyAtmProc::setup_output)
.def("setup_output",pybind11::overload_cast<const pybind11::dict&>(&PyAtmProc::setup_output))
.def("setup_output",pybind11::overload_cast<const std::string&>(&PyAtmProc::setup_output))
.def("run",&PyAtmProc::run)
.def("read_ic",&PyAtmProc::read_ic);
}
Expand Down

0 comments on commit 22ef574

Please sign in to comment.