[opengm] 271/386: Update lweightedsum_of_functions.hxx

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:38:09 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 79605eb9897d694079c0942c12bf365ef8a61b87
Author: Joerg Kappes <kappes at math.uni-heidelberg.de>
Date:   Thu Jul 16 09:53:41 2015 +0200

    Update lweightedsum_of_functions.hxx
    
    fix typo in assert-loop
---
 include/opengm/functions/learnable/lweightedsum_of_functions.hxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/opengm/functions/learnable/lweightedsum_of_functions.hxx b/include/opengm/functions/learnable/lweightedsum_of_functions.hxx
index f831329..7180164 100644
--- a/include/opengm/functions/learnable/lweightedsum_of_functions.hxx
+++ b/include/opengm/functions/learnable/lweightedsum_of_functions.hxx
@@ -77,7 +77,7 @@ LWeightedSumOfFunctions<T, I, L>::LWeightedSumOfFunctions
    :   shape_(shape), weights_(&weights), weightIDs_(weightIDs),feat_(feat)
 {
    OPENGM_ASSERT( weightIDs_.size() == feat_.size() );
-   for(size_t i=0 i<weightIDs_.size();++1)
+   for(size_t i=0; i<weightIDs_.size(); ++i)
       OPENGM_ASSERT( size() == feat_[i].size() );
 }
 

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