Skip to content

Commit

Permalink
Updating setter and getter for LossFn since it doesnt have custom wra…
Browse files Browse the repository at this point in the history
…pper file
  • Loading branch information
motiwari committed Jan 14, 2022
1 parent 5981974 commit d909ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python_bindings/kmedoids_pywrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ PYBIND11_MODULE(banditpam, m) {
cls.def_property("swap_confidence",
&KMedoidsWrapper::getSwapConfidence, &KMedoidsWrapper::setSwapConfidence);
cls.def_property("loss_function",
&KMedoidsWrapper::getLossFunction, &KMedoidsWrapper::setLossFunction);
&KMedoidsWrapper::getLossFn, &KMedoidsWrapper::setLossFn);
medoids_python(&cls);
build_medoids_python(&cls);
labels_python(&cls);
Expand Down

0 comments on commit d909ace

Please sign in to comment.