Corrected the "cif coverage" command so that the coverage is not
accidentally converted from (long long) back to (int); otherwise the coverage is wrong on any large layouts, especially full-chip sizes.
This commit is contained in:
parent
958d6f1670
commit
bd787d2a97
|
|
@ -515,7 +515,7 @@ cifCoverageFunc(tile, arg)
|
|||
Rect r;
|
||||
|
||||
TiToRect(tile, &r);
|
||||
cstats->coverage += (long long)((r.r_xtop - r.r_xbot) * (r.r_ytop - r.r_ybot));
|
||||
cstats->coverage += (long long)(r.r_xtop - r.r_xbot) * (long long)(r.r_ytop - r.r_ybot);
|
||||
GeoInclude(&r, &cstats->bounds);
|
||||
|
||||
return(0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue