[opengm] 144/386: breaks all tests. Revert "removed wrapped functions which will not work anyway..."
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:36:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository opengm.
commit ae95a4db31154f139b511c4883d74fad65fbaf41
Author: mschiegg <martin.schiegg at iwr.uni-heidelberg.de>
Date: Fri Dec 19 10:06:43 2014 +0100
breaks all tests. Revert "removed wrapped functions which will not work anyway..."
This reverts commit 5978404d061a6704898ec078785ced4dc48492c8.
---
src/interfaces/python/opengm/learning/pyLoss.cxx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/interfaces/python/opengm/learning/pyLoss.cxx b/src/interfaces/python/opengm/learning/pyLoss.cxx
index 84a89f9..72aa8c5 100644
--- a/src/interfaces/python/opengm/learning/pyLoss.cxx
+++ b/src/interfaces/python/opengm/learning/pyLoss.cxx
@@ -38,18 +38,18 @@ void export_loss(){
typedef opengm::learning::GeneralizedHammingLoss::Parameter PyGeneralizedHammingLossParameter;
class_<PyHammingLoss >("HammingLoss")
- //.def("loss", &PyHammingLoss::loss<const GM &, Literator,Literator>)
- //.def("addLoss", &PyHammingLoss::addLoss<GM, Literator>)
+ .def("loss", &PyHammingLoss::loss<const GM &, Literator,Literator>)
+ .def("addLoss", &PyHammingLoss::addLoss<GM, Literator>)
;
class_<PyNoLoss >("NoLoss")
- //.def("loss", &PyNoLoss::loss<const GM &,Literator,Literator>)
- //.def("addLoss", &PyNoLoss::addLoss<GM, Literator>)
+ .def("loss", &PyNoLoss::loss<const GM &,Literator,Literator>)
+ .def("addLoss", &PyNoLoss::addLoss<GM, Literator>)
;
class_<PyGeneralizedHammingLoss >("GeneralizedHammingLoss", init<PyGeneralizedHammingLossParameter>())
- //.def("loss", &PyGeneralizedHammingLoss::loss<const GM &,Literator,Literator>)
- //.def("addLoss", &PyGeneralizedHammingLoss::addLoss<GM, Literator>)
+ .def("loss", &PyGeneralizedHammingLoss::loss<const GM &,Literator,Literator>)
+ .def("addLoss", &PyGeneralizedHammingLoss::addLoss<GM, Literator>)
;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opengm.git
More information about the debian-science-commits
mailing list