fix constructor error
This commit is contained in:
parent
6c40ee863f
commit
62cf24a0de
@ -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++);
|
||||||
|
Loading…
Reference in New Issue
Block a user