Skip to content

Commit

Permalink
fix issue #46
Browse files Browse the repository at this point in the history
  • Loading branch information
mtf90 committed Aug 21, 2021
1 parent 1e9e9fa commit 37e30f2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,11 @@ protected void verifyFormula(String formula) {
return new MealyMachine<Integer, I, CompactTransition<O>, O>() {

@Override
@SuppressWarnings("nullness") // TODO XXX FIXME: Returning non-null values would currently break InclusionOracles in LearnLib. We should rethink a clean API here.
public Word<O> computeStateOutput(Integer state, Iterable<? extends I> input) {
final Integer succ = getSuccessor(state, input);

return deadlock.equals(succ) ? MealyMachine.super.computeStateOutput(state, input) : Word.epsilon();
return deadlock.equals(succ) ? MealyMachine.super.computeStateOutput(state, input) : null;
}

@Override
Expand Down

0 comments on commit 37e30f2

Please sign in to comment.