[opengm] 55/386: make it compileable
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:35:04 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 947be2e4f668c6575bd4629781f9a8f632be553b
Author: joergkappes <kappes at math.uni-heidelberg.de>
Date: Tue Dec 16 08:57:07 2014 +0100
make it compileable
---
src/unittest/learning/test_generalized_hammingloss.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/unittest/learning/test_generalized_hammingloss.cxx b/src/unittest/learning/test_generalized_hammingloss.cxx
index bdee10e..938ecdb 100644
--- a/src/unittest/learning/test_generalized_hammingloss.cxx
+++ b/src/unittest/learning/test_generalized_hammingloss.cxx
@@ -58,7 +58,7 @@ int main() {
gm.addVariable(numberOfLabels);
// add a unary to node 2 (if indexed from 1)
- opengm::ExplicitFunction<typename GM::ValueType,typename GM::IndexType, typename GM::LabelType> f(&numberOfLabels, &(numberOfLabels)+1, 2.0);
+ opengm::ExplicitFunction<GM::ValueType,GM::IndexType,GM::LabelType> f(&numberOfLabels, &(numberOfLabels)+1, 2.0);
size_t variableIndex = 1;
gm.addFactor(gm.addFunction(f), &variableIndex, &variableIndex+1);
OPENGM_ASSERT_OP(gm.evaluate(labels.begin()), ==, 2.0);
--
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