[opengm] 72/386: embarrassing bug fix in bundle method
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:35:07 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 082729c3aed3dd7a155e6f2728c5cf0a37ea1ecd
Author: Jan Funke <funke at ini.ch>
Date: Tue Dec 16 16:44:10 2014 +0100
embarrassing bug fix in bundle method
---
include/opengm/learning/bundle-optimizer.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/opengm/learning/bundle-optimizer.hxx b/include/opengm/learning/bundle-optimizer.hxx
index bc8e1bd..46276a8 100644
--- a/include/opengm/learning/bundle-optimizer.hxx
+++ b/include/opengm/learning/bundle-optimizer.hxx
@@ -235,7 +235,7 @@ BundleOptimizer<T>::dot(const ModelWeights& a, const ModelWeights& b) {
T d = 0.0;
for (size_t i = 0; i < a.numberOfWeights(); i++)
- d += a[i]+b[i];
+ d += a[i]*b[i];
return d;
}
--
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