[opengm] 39/40: fix wrong use of IndexType and LabelType

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Feb 14 16:06:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository opengm.

commit 0fc8dd15d5cf158e020a1881da8d54914823ab97
Author: Joerg Kappes <kappes at math.uni-heidelberg.de>
Date:   Mon Jan 25 19:30:47 2016 +0100

    fix wrong use of IndexType and LabelType
---
 include/opengm/graphicalmodel/graphicalmodel.hxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/opengm/graphicalmodel/graphicalmodel.hxx b/include/opengm/graphicalmodel/graphicalmodel.hxx
index 5ec42a3..0d984d3 100755
--- a/include/opengm/graphicalmodel/graphicalmodel.hxx
+++ b/include/opengm/graphicalmodel/graphicalmodel.hxx
@@ -370,11 +370,11 @@ template<class T, class OPERATOR, class FUNCTION_TYPE_LIST, class SPACE>
 inline typename GraphicalModel<T, OPERATOR, FUNCTION_TYPE_LIST, SPACE>::IndexType
 GraphicalModel<T, OPERATOR, FUNCTION_TYPE_LIST, SPACE>::addVariable
 (
-   const IndexType nLabels
+   const LabelType nLabels
 ) 
 {
    space_.addVariable(nLabels);
-   variableFactorAdjaceny_.push_back(RandomAccessSet<size_t>());
+   variableFactorAdjaceny_.push_back(RandomAccessSet<IndexType>());
    return space_.numberOfVariables() - 1;    
 }
 

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