[opengm] 100/386: fixed test_gridsearch_learner

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 9da4972c4e68b8de42c2487c5584b3ea4b9e3ea1
Author: Jan Funke <funke at ini.ch>
Date:   Wed Dec 17 14:50:28 2014 +0100

    fixed test_gridsearch_learner
---
 src/unittest/learning/test_gridsearch_learner.cxx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/unittest/learning/test_gridsearch_learner.cxx b/src/unittest/learning/test_gridsearch_learner.cxx
index 71e8a4b..f18b7e6 100644
--- a/src/unittest/learning/test_gridsearch_learner.cxx
+++ b/src/unittest/learning/test_gridsearch_learner.cxx
@@ -58,11 +58,11 @@ int main() {
       std::cout << "Dataset includes " << dataset.getNumberOfModels() << " instances and has " << dataset.getNumberOfWeights() << " parameters."<<std::endl;
       
       
-      opengm::learning::GridSearchLearner<DS1,LOSS>::Parameter para;
+      opengm::learning::GridSearchLearner<DS1>::Parameter para;
       para.parameterUpperbound_.resize(1,1);
       para.parameterLowerbound_.resize(1,0);
       para.testingPoints_.resize(1,10);
-      opengm::learning::GridSearchLearner<DS1,LOSS> learner(dataset,para);
+      opengm::learning::GridSearchLearner<DS1> learner(dataset,para);
       
       
       INF::Parameter infPara;
@@ -75,11 +75,11 @@ int main() {
       std::cout << "Dataset includes " << dataset.getNumberOfModels() << " instances and has " << dataset.getNumberOfWeights() << " parameters."<<std::endl;
       
       
-      opengm::learning::GridSearchLearner<DS2,LOSS>::Parameter para;
+      opengm::learning::GridSearchLearner<DS2>::Parameter para;
       para.parameterUpperbound_.resize(3,1);
       para.parameterLowerbound_.resize(3,0);
       para.testingPoints_.resize(3,5);
-      opengm::learning::GridSearchLearner<DS2,LOSS> learner(dataset,para);
+      opengm::learning::GridSearchLearner<DS2> learner(dataset,para);
       
       
       INF::Parameter infPara;

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