diff --git a/Hazard/Hazard/KV.cpp b/Hazard/Hazard/KV.cpp index 44e785d..5f3b0c6 100644 --- a/Hazard/Hazard/KV.cpp +++ b/Hazard/Hazard/KV.cpp @@ -217,14 +217,15 @@ void KV::PrintPrimImplikanten() vector* kullers = currentPI->PI_groupCollection[j]; - + uint X1 = -1, X2 = 0, Y1 = -1, Y2 = 0; for (uint k = 0; k < kullers->size(); k++) { + for (vector::iterator it = kullers->begin(); it < kullers->end(); it++) { - uint X1 = -1, X2 = 0, Y1 = -1, Y2 = 0; + uint x1 = (*it)->w * (this->edgeLength + 1) + this->VarY_Length; // Upper coord uint x2 = x1 + this->edgeLength; // Lower coord