[opengm] 139/386: sumOfBi...Experts serialization fixed

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:36:26 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 1d003ccacb6c61f078206c79830a650586b7d479
Author: mschiegg <martin.schiegg at iwr.uni-heidelberg.de>
Date:   Thu Dec 18 17:48:03 2014 +0100

    sumOfBi...Experts serialization fixed
---
 include/opengm/functions/learnable/sum_of_experts.hxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/opengm/functions/learnable/sum_of_experts.hxx b/include/opengm/functions/learnable/sum_of_experts.hxx
index 1cd9bcf..02d06c6 100644
--- a/include/opengm/functions/learnable/sum_of_experts.hxx
+++ b/include/opengm/functions/learnable/sum_of_experts.hxx
@@ -180,7 +180,7 @@ FunctionSerialization<opengm::functions::learnable::SumOfExperts<T, I, L> >::val
 (
    const opengm::functions::learnable::SumOfExperts<T, I, L> & src
 ) {
-   return src.feat_.size()*src.dimension();
+   return src.feat_.size()*src.size();
 }
 
 template<class T, class I, class L>

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