diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2015-03-08 00:08:17 +0100 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2015-03-08 00:08:17 +0100 |
commit | af5d39c2977e10553906fc0c2107c73ab468b338 (patch) | |
tree | 55a82b67d872221735a55f1624f5ce1a15b981f8 | |
parent | 3031eaba9513e350a717d41076da56f0be2e8589 (diff) | |
parent | ad6381b9d6ccf1515ad5fde4f43dc331e3b63515 (diff) |
Merge remote-tracking branch 'upstream/master' into upstream
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | qrouter.c | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1 +1 @@ -1.3.5 +1.3.7 @@ -2468,14 +2468,16 @@ void cleanup_net(NET net) lf = segf->layer; fcheck = (lf != layer && lf != layer - 1) ? FALSE : TRUE; // We're going to remove the contact so it can't be a tap - if (Nodesav[lf][OGRID(segf->x1, segf->y1, lf)] != NULL) + if ((lf < Pinlayers) && + (Nodesav[lf][OGRID(segf->x1, segf->y1, lf)] != NULL)) fcheck = FALSE; } if (segl && (segl->segtype & ST_VIA)) { ll = segl->layer; lcheck = (ll != layer && ll != layer - 1) ? FALSE : TRUE; // We're going to remove the contact so it can't be a tap - if (Nodesav[ll][OGRID(segl->x1, segl->y1, ll)] != NULL) + if ((ll < Pinlayers) && + (Nodesav[ll][OGRID(segl->x1, segl->y1, ll)] != NULL)) lcheck = FALSE; } if (fcheck == FALSE && lcheck == FALSE) continue; |