Stefan Schuermans commited on 2017-05-25 16:11:43
Showing 3 changed files, with 4 additions and 4 deletions.
... | ... |
@@ -41,7 +41,7 @@ int Chain::pixCoord(const Point &pix0, const Point &pixSz, |
41 | 41 |
bool err = false; |
42 | 42 |
if (mPixels.size() > mPixelCnt) { |
43 | 43 |
std::cerr << "too many pixels (" << mPixels.size() << "/" |
44 |
- << mPixelCnt << ") for distributor " |
|
44 |
+ << mPixelCnt << ") for distributor 0x" |
|
45 | 45 |
<< std::hex << distriNo << " chain " |
46 | 46 |
<< std::dec << chainNo << std::endl; |
47 | 47 |
err = true; |
... | ... |
@@ -52,7 +52,7 @@ int Distri::pixCoord(const Point &pix0, const Point &pixSz, |
52 | 52 |
bool err = false; |
53 | 53 |
if (mChains.size() > mChainCnt) { |
54 | 54 |
std::cerr << "too many chains (" << mChains.size() << "/" |
55 |
- << mChainCnt << ") for distributor " |
|
55 |
+ << mChainCnt << ") for distributor 0x" |
|
56 | 56 |
<< std::hex << mNo << std::endl; |
57 | 57 |
err = true; |
58 | 58 |
} |
... | ... |
@@ -305,7 +305,7 @@ int createDistri(Distri &distri, const Layer *pLayer, unsigned int pixels) |
305 | 305 |
{ |
306 | 306 |
// must have exactly one object |
307 | 307 |
if (pLayer->mObjects.size() != 1) { |
308 |
- std::cerr << "layer of distributor " << std::hex << distri.getNo() |
|
308 |
+ std::cerr << "layer of distributor 0x" << std::hex << distri.getNo() |
|
309 | 309 |
<< "contains no object or multiple objects" << std::endl; |
310 | 310 |
return -1; |
311 | 311 |
} |
... | ... |
@@ -315,7 +315,7 @@ int createDistri(Distri &distri, const Layer *pLayer, unsigned int pixels) |
315 | 315 |
std::vector<Layer::Intersection> intersectsNet; |
316 | 316 |
gLayerNetwork.getIntersections(pObjDistri, intersectsNet); |
317 | 317 |
if (intersectsNet.size() != 1) { |
318 |
- std::cerr << "distributor " << std::hex << distri.getNo() |
|
318 |
+ std::cerr << "distributor 0x" << std::hex << distri.getNo() |
|
319 | 319 |
<< "has no network connection or multiple network connections" |
320 | 320 |
<< std::endl; |
321 | 321 |
return -1; |
322 | 322 |