We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ce7d94 commit 5c3820fCopy full SHA for 5c3820f
1 file changed
algorithms/active/procedural/src/main/java/de/learnlib/algorithm/procedural/spmm/SPMMLearner.java
@@ -118,7 +118,8 @@ public void startLearning() {
118
@Override
119
public boolean refineHypothesis(DefaultQuery<I, Word<O>> defaultQuery) {
120
121
- assert this.alphabet.isReturnMatched(defaultQuery.getInput());
+ assert defaultQuery.getPrefix().isEmpty() : "Counterexamples need to provide full trace information";
122
+ assert this.alphabet.isReturnMatched(defaultQuery.getInput()) : "Counterexample has unmatched return symbols";
123
124
boolean changed = this.extractUsefulInformationFromCounterExample(defaultQuery);
125
0 commit comments