Working on issue1191, I noticed that max_states, max_states_before_merge, and shrink_threshold_before_merge used by MergeScoringFunctionMIASM are not treated with handling default values as done in MergeAndShrinkAlgorithm. In the current version, leaving the values at -1, for example, results in assertion failures when attempting to compute the state limit before merging.
When setting max_states (which is the usual/recommended way), this would not lead to errors which is why this was probably never a problem. It should still be fixed.
|