[opengm] 98/386: fixed testdatasets

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:35:11 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 880c766aac9939c69c56d5bb89c66446c341331f
Author: Jan Funke <funke at ini.ch>
Date:   Wed Dec 17 14:44:32 2014 +0100

    fixed testdatasets
---
 include/opengm/learning/dataset/testdatasets.hxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/opengm/learning/dataset/testdatasets.hxx b/include/opengm/learning/dataset/testdatasets.hxx
index 4ecc355..fde3751 100644
--- a/include/opengm/learning/dataset/testdatasets.hxx
+++ b/include/opengm/learning/dataset/testdatasets.hxx
@@ -247,9 +247,9 @@ namespace opengm {
          this->count_.resize(numModels,0);
          this->weights_ = Weights(2);
          LabelType numberOfLabels = 2;
-         this->gt_.resize(numModels,std::vector<size_t>(1,0));
+         this->gts_.resize(numModels,std::vector<size_t>(1,0));
          for(size_t m=0; m<numModels; ++m){
-            this->gt_[m][0] = 0;
+            this->gts_[m][0] = 0;
          }
          this->gms_.resize(numModels);
          this->gmsWithLoss_.resize(numModels);

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