[opengm] 279/386: Use IndexType instead of UInt16 in LearnableUnary, to allow large numbers of features
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:38:10 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 c8990ba17fe8f98cca5e4e096ecd4bf48e6361d4
Author: Carsten Haubold <carstenhaubold at googlemail.com>
Date: Wed Oct 7 15:31:43 2015 +0200
Use IndexType instead of UInt16 in LearnableUnary, to allow large numbers of features
---
include/opengm/functions/learnable/lunary.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/opengm/functions/learnable/lunary.hxx b/include/opengm/functions/learnable/lunary.hxx
index c4cc08a..cc1b930 100644
--- a/include/opengm/functions/learnable/lunary.hxx
+++ b/include/opengm/functions/learnable/lunary.hxx
@@ -101,8 +101,8 @@ protected:
mutable const opengm::learning::Weights<T> * weights_;
- opengm::UInt16Type numberOfLabels_;
- std::vector<opengm::UInt16Type> offsets_;
+ IndexType numberOfLabels_;
+ std::vector<IndexType> offsets_;
std::vector<size_t> weightIds_;
std::vector<ValueType> features_;
--
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