Skip to content

Commit fb6e26b

Browse files
authored
Fix bug in IteratedGame.finished()
The inequality was backwards.
1 parent 75fed4f commit fb6e26b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/nmerrill/kothcomm/game/games/IteratedGame.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ protected void step() {
2323

2424
@Override
2525
public boolean finished() {
26-
return iterations >= 0;
26+
return iterations <= 0;
2727
}
2828
}

0 commit comments

Comments
 (0)