diff --git a/src/Simulation.cpp b/src/Simulation.cpp index 5a4a02d..f1ce7e8 100644 --- a/src/Simulation.cpp +++ b/src/Simulation.cpp @@ -104,7 +104,7 @@ bool Simulation::parseVector(string fileName) { in >> valInt; for(auto i = wires.begin(); i != wires.end(); ++i) { - if(i->getName() == tmpString) { + if((**i).getName() == tmpString) { tmpWire = *i; } }