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

Fixed cost function for transition reduce

parent 5ab69e71
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,7 @@ void Transition::initReduce()
cost = [](const Config & config)
{
if (config.isToken(config.getWordIndex()))
if (!config.isToken(config.getWordIndex()))
return 0;
int cost = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment