typo in last commit

This commit is contained in:
Rico Sennrich 2014-03-21 11:59:41 +00:00
parent 45630a5851
commit fb16df8c00
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ void ChartRuleLookupManagerMemory::GetNonTerminalExtension(
const std::vector<bool> &sourceNonTermArray = inputPath.GetNonTerminalArray();
// can this ever be true? Moses seems to pad the non-terminal set of the input with [X]
if (inputPath.GetNonTerminalSet.size() == 0) {
if (inputPath.GetNonTerminalSet().size() == 0) {
return;
}
#endif

View File

@ -177,7 +177,7 @@ void ChartRuleLookupManagerMemoryPerSentence::GetNonTerminalExtension(
const std::vector<bool> &sourceNonTermArray = inputPath.GetNonTerminalArray();
// can this ever be true? Moses seems to pad the non-terminal set of the input with [X]
if (inputPath.GetNonTerminalSet.size() == 0) {
if (inputPath.GetNonTerminalSet().size() == 0) {
return;
}
#endif