Implemented the change from pull request #65 from Mitch Bailey
(slightly altered to put the inexpensive flag checks before the more expensive string match).
This commit is contained in:
parent
c73d9ec4ff
commit
98e6a4bd8f
|
|
@ -6952,7 +6952,8 @@ int EquivalenceClasses(char *name1, int file1, char *name2, int file2)
|
|||
/* conflicting names exist, then alter the classhash to make it */
|
||||
/* unique. In the case of duplicate cells, don't do this. */
|
||||
|
||||
if (!(tp->flags & CELL_DUPLICATE) && !(tp2->flags & CELL_DUPLICATE)) {
|
||||
if (!(tp->flags & CELL_DUPLICATE) && !(tp2->flags & CELL_DUPLICATE) &&
|
||||
!(*matchfunc)(name1, name2)) {
|
||||
tpx = LookupCellFile(name1, file2);
|
||||
if (tpx != NULL) need_new_seed = 1;
|
||||
tpx = LookupCellFile(name2, file1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue