Fixed nand and nor gate to work with more than two inputs
[Mograsim.git] / net.mograsim.logic.core / src / net / mograsim / logic / core / components / gates / NandGate.java
index ff8f790..0e40648 100644 (file)
@@ -9,6 +9,6 @@ public class NandGate extends MultiInputGate
 {
        public NandGate(Timeline timeline, int processTime, ReadWriteEnd out, ReadEnd... in)
        {
-               super(timeline, processTime, BitVectorMutator::nand, out, in);
+               super(timeline, processTime, BitVectorMutator::and, true, out, in);
        }
 }