mirror of https://github.com/openXC7/prjxray.git
Don't output segmatch stats when cnt_candidates is zero
Signed-off-by: Clifford Wolf <clifford@clifford.at> Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
This commit is contained in:
parent
5a91f3988a
commit
de1f909a37
|
|
@ -311,9 +311,12 @@ help:
|
|||
|
||||
printf("#of const0 tags: %d\n", cnt_const0);
|
||||
printf("#of const1 tags: %d\n", cnt_const1);
|
||||
printf("min #of candidates: %d\n", min_candidates);
|
||||
printf("max #of candidates: %d\n", max_candidates);
|
||||
printf("avg #of candidates: %.3f\n", avg_candidates);
|
||||
|
||||
if (cnt_candidates) {
|
||||
printf("min #of candidates: %d\n", min_candidates);
|
||||
printf("max #of candidates: %d\n", max_candidates);
|
||||
printf("avg #of candidates: %.3f\n", avg_candidates);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue