[opengm] 19/386: add typedef and make it larger

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:35:00 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 0b44279b301512b41a0dd4d3f65dd3b832ad7292
Author: joergkappes <kappes at math.uni-heidelberg.de>
Date:   Wed Nov 19 15:38:49 2014 +0100

    add typedef and make it larger
---
 include/opengm/learning/dataset/testdataset.hxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/opengm/learning/dataset/testdataset.hxx b/include/opengm/learning/dataset/testdataset.hxx
index 77537ac..c907293 100644
--- a/include/opengm/learning/dataset/testdataset.hxx
+++ b/include/opengm/learning/dataset/testdataset.hxx
@@ -13,6 +13,7 @@ namespace opengm {
       template<class GM>
       class TestDataset{
       public:
+         typedef GM                     GMType;
          typedef typename GM::ValueType ValueType;
          typedef typename GM::IndexType IndexType;
          typedef typename GM::LabelType LabelType; 
@@ -24,7 +25,7 @@ namespace opengm {
          size_t                        getNumberOfParameters()   { return 1; }
          size_t                        getNumberOfModels()       { return gms_.size(); } 
          
-         TestDataset(size_t numModels=3); 
+         TestDataset(size_t numModels=10); 
 
       private:
          std::vector<GM> gms_; 

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