[opengm] 143/386: 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 5978404d061a6704898ec078785ced4dc48492c8
Author: DerThorsten <thorsten.beier at iwr.uni-heidelberg.de>
Date:   Thu Dec 18 23:58:44 2014 +0100

    removed wrapped functions which will not work anyway...
---
 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 72aa8c5..84a89f9 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