[opengm] 75/386: rename argument, add missing include

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 b4c312f13c360d12b5eeb62d8befd37f25020da2
Author: mschiegg <martin.schiegg at iwr.uni-heidelberg.de>
Date:   Tue Dec 16 17:57:20 2014 +0100

    rename argument, add missing include
---
 include/opengm/graphicalmodel/weights.hxx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/opengm/graphicalmodel/weights.hxx b/include/opengm/graphicalmodel/weights.hxx
index f31d874..cb24be5 100644
--- a/include/opengm/graphicalmodel/weights.hxx
+++ b/include/opengm/graphicalmodel/weights.hxx
@@ -1,6 +1,7 @@
 #ifndef OPENGM_LEARNING_WEIGHTS
 #define OPENGM_LEARNING_WEIGHTS
 
+#include <opengm/opengm.hxx>
 
 namespace opengm{
 namespace learning{
@@ -10,8 +11,8 @@ namespace learning{
    public:
       typedef T ValueType;
 
-      Weights(const size_t numberOfParameters=0)
-      : weights_(numberOfParameters){
+      Weights(const size_t numberOfWeights=0)
+      : weights_(numberOfWeights){
 
       }
 

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