logic gates and, or and xor now take an arbitrary amount of inputs.
[Mograsim.git] / era.mi / src / era / mi / logic / wires / WireArray.java
index 5e09c91..b7a83fa 100644 (file)
@@ -26,7 +26,7 @@ public class WireArray
        public WireArray(int length, int travelTime)\r
        {\r
                if (length < 1)\r
-                       throw new IllegalArgumentException(String.format("Tried to create an array of wires with length %o, but a length of less than 1 makes no sense.", length));\r
+                       throw new IllegalArgumentException(String.format("Tried to create an array of wires with length %d, but a length of less than 1 makes no sense.", length));\r
                this.length = length;\r
                this.travelTime = travelTime;\r
                initValues();\r