From 62cf24a0de364bd0f4979a09ec7397ac7b68d599 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Mon, 24 Apr 2017 22:39:40 -0400 Subject: [PATCH] fix constructor error --- src/Simulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simulation.cpp b/src/Simulation.cpp index 95755ad..ea90ec0 100644 --- a/src/Simulation.cpp +++ b/src/Simulation.cpp @@ -148,7 +148,7 @@ void Simulation::simulate() { // if the wire value changes, evaluate gates if(doesChange) { Gate * tmpGate; - Event gateEvent; + Event gateEvent(-1, -1, -1, nullptr); int index = 0; while(true){ tmpGate = output->getGate(index++);