mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
beautify
This commit is contained in:
parent
78cdf82de8
commit
302eec8283
@ -94,8 +94,7 @@ void FeatureFunction::SetParameter(const std::string& key, const std::string& va
|
|||||||
{
|
{
|
||||||
if (key == "tuneable") {
|
if (key == "tuneable") {
|
||||||
m_tuneable = Scan<bool>(value);
|
m_tuneable = Scan<bool>(value);
|
||||||
}
|
} else if (key == "filterable") { //ignore
|
||||||
else if (key == "filterable") { //ignore
|
|
||||||
} else {
|
} else {
|
||||||
UTIL_THROW(util::Exception, "Unknown argument " << key << "=" << value);
|
UTIL_THROW(util::Exception, "Unknown argument " << key << "=" << value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user