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:
parent
5bfed246f9
commit
c0bbabc400
2 changed files with 6 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue