[opengm] 232/386: Only build SelfFusion if QPBO is enabled

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:37:55 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 a6d77ce5bc1764939bffee5464a50140029efcf2
Author: Carsten Haubold <carstenhaubold at googlemail.com>
Date:   Wed Jan 14 15:17:31 2015 +0100

    Only build SelfFusion if QPBO is enabled
---
 src/interfaces/python/opengm/learning/helper.hxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/interfaces/python/opengm/learning/helper.hxx b/src/interfaces/python/opengm/learning/helper.hxx
index 4f0c8eb..d6e68a6 100644
--- a/src/interfaces/python/opengm/learning/helper.hxx
+++ b/src/interfaces/python/opengm/learning/helper.hxx
@@ -235,7 +235,7 @@ public:
             #endif
 
             // REDUCED INFERNCE SELF FUSION
-            #ifdef WITH_TRWS
+            #if defined(WITH_TRWS) && defined(WITH_QPBO)
             .def("_learnReducedInfSelfFusion",&pyLearn_ReducedInfSelfFusion<TrwsExternal>)
             #endif
         ;

-- 
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