Skip to content

Commit

Permalink
Update src/python_bindings/nar/bind_nar.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: BUYT-1 <[email protected]>
  • Loading branch information
VanyaVolgushev and BUYT-1 authored Jan 15, 2025
1 parent 641166a commit ab80dc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python_bindings/nar/bind_nar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ void BindNar(py::module_& main_module) {
.def_property_readonly("confidence",
[](NAR const& n) { return n.GetQualities().confidence; })
.def_property_readonly("fitness", [](NAR const& n) { return n.GetQualities().fitness; })
.def_property_readonly("ante", &NAR::GetAnte, py::return_value_policy::move)
.def_property_readonly("cons", &NAR::GetCons, py::return_value_policy::move);
.def_property_readonly("ante", &NAR::GetAnte)
.def_property_readonly("cons", &NAR::GetCons);

BindPrimitive<DES>(nar_module, &NARAlgorithm::GetNARVector, "NarAlgorithm", "get_nars", {"DES"}, pybind11::return_value_policy::copy);
}
Expand Down

0 comments on commit ab80dc8

Please sign in to comment.