diff --git a/prism/src/explicit/IndexedSet.java b/prism/src/explicit/IndexedSet.java index 57cd0362..373b36e7 100644 --- a/prism/src/explicit/IndexedSet.java +++ b/prism/src/explicit/IndexedSet.java @@ -39,18 +39,18 @@ public class IndexedSet implements StateStorage public IndexedSet() { - indexOfLastAdd = -1; + this(false); } public IndexedSet(boolean sorted) { - this(); + indexOfLastAdd = -1; set = sorted ? new TreeMap() : new HashMap(); } public IndexedSet(Comparator comparator) { - this(); + indexOfLastAdd = -1; set = new TreeMap(comparator); }