Skip to content

Commit 08cb51f

Browse files
committed
Merge branch 'develop'
2 parents 3e48e1f + 89b3f11 commit 08cb51f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<project name="BuildConfig">
2-
<property name="version" value="0.4.5"/>
2+
<property name="version" value="0.4.6"/>
33
<property name="WYBS_JAR" value="lib/wybs-v0.3.34.jar"/>
44
</project>

src/wyrw/core/Reduction.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ public int step(int from, int activation) {
4141
AbstractActivation a = state.activation(activation);
4242
int target = a.apply(automaton);
4343
int to;
44-
if (target != Automaton.K_VOID && from != target) {
44+
if (target != Automaton.K_VOID && a.target() != target) {
4545
// Rule application produced an updated automaton
46+
automaton.minimise();
4647
automaton.compact(0);
4748
to = addState(automaton);
4849
if(to >= states.size()) {

0 commit comments

Comments
 (0)