diff options
author | Matthias Huck <huck@i6.informatik.rwth-aachen.de> | 2014-12-04 22:21:36 +0300 |
---|---|---|
committer | Matthias Huck <huck@i6.informatik.rwth-aachen.de> | 2014-12-04 22:21:36 +0300 |
commit | 824bd174f137dfb01119aed6f36a0fe7a7d34094 (patch) | |
tree | 25eaf9ab4822cdbc0328e00d6a36fa17d7b9f73e | |
parent | 31eb7b969329d3b195943d364d9c188d48a62530 (diff) |
FeatureFunction: default verbosity parameter value is "unset" ( == std::numeric_limits<std::size_t>::max() ).
Global verbosity level applies in this case (cf. declaration of macro IFFEATUREVERBOSE in moses/Util.h)
-rw-r--r-- | moses/FF/FeatureFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/FF/FeatureFunction.cpp b/moses/FF/FeatureFunction.cpp index 4b5faa91e..62f9437ac 100644 --- a/moses/FF/FeatureFunction.cpp +++ b/moses/FF/FeatureFunction.cpp @@ -45,7 +45,7 @@ void FeatureFunction::CallChangeSource(InputType *&input) FeatureFunction:: FeatureFunction(const std::string& line) : m_tuneable(true) - , m_verbosity(1) + , m_verbosity(std::numeric_limits<std::size_t>::max()) , m_numScoreComponents(1) { Initialize(line); @@ -55,7 +55,7 @@ FeatureFunction:: FeatureFunction(size_t numScoreComponents, const std::string& line) : m_tuneable(true) - , m_verbosity(0) + , m_verbosity(std::numeric_limits<std::size_t>::max()) , m_numScoreComponents(numScoreComponents) { Initialize(line); |