Skip to content
Snippets Groups Projects
Commit f3eac5e2 authored by Franck Dary's avatar Franck Dary
Browse files

Fixed test in SplitTransition

parent b2f655e3
No related branches found
No related tags found
No related merge requests found
...@@ -329,7 +329,7 @@ void Transition::initSplitWord(std::vector<std::string> words) ...@@ -329,7 +329,7 @@ void Transition::initSplitWord(std::vector<std::string> words)
return std::numeric_limits<int>::max(); return std::numeric_limits<int>::max();
for (unsigned int i = 0; i < words.size(); i++) for (unsigned int i = 0; i < words.size(); i++)
if (!config.has("FORM", config.getWordIndex()+i, 0) or util::lower(config.getConst("FORM", config.getWordIndex()+i, 0)) != words[i]) if (!config.has("FORM", config.getWordIndex()+i, 0) or util::lower(config.getConst("FORM", config.getWordIndex()+i, 0)) != util::lower(words[i]))
return std::numeric_limits<int>::max(); return std::numeric_limits<int>::max();
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment