fix constructor error

This commit is contained in:
Joel Beckmeyer 2017-04-24 22:39:40 -04:00
parent 6c40ee863f
commit 62cf24a0de

View File

@ -148,7 +148,7 @@ void Simulation::simulate() {
// if the wire value changes, evaluate gates // if the wire value changes, evaluate gates
if(doesChange) { if(doesChange) {
Gate * tmpGate; Gate * tmpGate;
Event gateEvent; Event gateEvent(-1, -1, -1, nullptr);
int index = 0; int index = 0;
while(true){ while(true){
tmpGate = output->getGate(index++); tmpGate = output->getGate(index++);