Stefan Schuermans commited on 2017-05-20 12:59:56
Showing 1 changed files, with 3 additions and 2 deletions.
... | ... |
@@ -204,7 +204,7 @@ int createDistri(Distri &distri, const Layer *pLayer, unsigned int pixels) |
204 | 204 |
// must have exactly one object |
205 | 205 |
if (pLayer->mObjects.size() != 1) { |
206 | 206 |
std::cerr << "layer of distributor " << std::hex << distri.mNo |
207 |
- << "contains no or multiple objects" << std::endl; |
|
207 |
+ << "contains no object or multiple objects" << std::endl; |
|
208 | 208 |
return -1; |
209 | 209 |
} |
210 | 210 |
const Object *pObjDistri = pLayer->mObjects[0]; |
... | ... |
@@ -214,7 +214,8 @@ int createDistri(Distri &distri, const Layer *pLayer, unsigned int pixels) |
214 | 214 |
gLayerNetwork.getIntersections(pObjDistri, intersectsNet); |
215 | 215 |
if (intersectsNet.size() != 1) { |
216 | 216 |
std::cerr << "distributor " << std::hex << distri.mNo |
217 |
- << "has no or multiple network connections" << std::endl; |
|
217 |
+ << "has no network connection or multiple network connections" |
|
218 |
+ << std::endl; |
|
218 | 219 |
return -1; |
219 | 220 |
} |
220 | 221 |
Point ptNetwork = intersectsNet[0].pt; |
221 | 222 |