autfilt: -uc should count the number of non-isomorphic automata

* src/bin/autfilt.cc: Fix it.
* src/tests/isomorph.test: Test it.
This commit is contained in:
Alexandre Duret-Lutz 2015-04-28 16:12:13 +02:00
parent 5bfed246f9
commit c0bbabc400
2 changed files with 6 additions and 3 deletions

View file

@ -533,8 +533,6 @@ namespace
if (matched == opt_invert)
return 0;
++match_count;
// Postprocessing.
if (opt_mask_acc)
@ -583,6 +581,8 @@ namespace
return 0;
}
++match_count;
printer.print(aut, nullptr, filename, -1, conversion_time, haut);
if (opt_max_count >= 0 && match_count >= opt_max_count)