@@ -26,7 +26,7 @@ void define_options(py::module& main)
2626 py::enum_<RecombinationWeights>(m, " RecombinationWeights" )
2727 .value (" DEFAULT" , parameters::RecombinationWeights::DEFAULT)
2828 .value (" EQUAL" , parameters::RecombinationWeights::EQUAL)
29- .value (" HALF_POWER_LAMBDA " , parameters::RecombinationWeights::HALF_POWER_LAMBDA )
29+ .value (" EXPONENTIAL " , parameters::RecombinationWeights::EXPONENTIAL )
3030 .export_values ();
3131
3232 py::enum_<BaseSampler>(m, " BaseSampler" )
@@ -313,7 +313,7 @@ void define_repelling(py::module& main)
313313 .def_readwrite (" archive" , &Repelling::archive)
314314 .def_readwrite (" coverage" , &Repelling::coverage)
315315 .def_readwrite (" attempts" , &Repelling::attempts)
316- . def_readwrite ( " C_inv " , &Repelling::C_inv) ;
316+ ;
317317
318318 py::class_<NoRepelling, Repelling, std::shared_ptr<NoRepelling>>(m, " NoRepelling" )
319319 .def (py::init<>());
@@ -358,7 +358,7 @@ void define_matrix_adaptation(py::module& main)
358358 py::arg (" mu" ),
359359 py::arg (" settings" ),
360360 py::arg (" stats" ))
361- .def (" restart" , &Adaptation::restart, py::arg (" settings" ), py::args (" sigma" ))
361+ .def (" restart" , &Adaptation::restart, py::arg (" settings" ), py::arg (" sigma" ))
362362 .def (" distance" , &Adaptation::distance, py::arg (" u" ), py::arg (" v" ))
363363 .def (" distance_from_center" , &Adaptation::distance_from_center, py::arg (" x" ))
364364 .def (" compute_y" , &Adaptation::compute_y, py::arg (" zi" ))
0 commit comments