[opengm] 128/386: fix: added lossParams_ to editabletestdataset constructor
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:36:03 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 8e16060794176d691ac2282932762f9cf976bcdd
Author: Steffen-Wolf <Steffen.Wolf at stud.uni-heidelberg.de>
Date: Thu Dec 18 16:15:59 2014 +0100
fix: added lossParams_ to editabletestdataset constructor
---
include/opengm/learning/dataset/testdatasets.hxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/opengm/learning/dataset/testdatasets.hxx b/include/opengm/learning/dataset/testdatasets.hxx
index ffdd21a..fff5437 100644
--- a/include/opengm/learning/dataset/testdatasets.hxx
+++ b/include/opengm/learning/dataset/testdatasets.hxx
@@ -309,6 +309,7 @@ namespace opengm {
template<class GM, class LOSS>
EditableTestDataset<GM,LOSS>::EditableTestDataset(size_t numModels)
{
+ this->lossParams_.resize(numModels);
this->count_.resize(numModels,0);
this->weights_ = Weights(3);
LabelType numberOfLabels = 2;
--
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