File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -189,11 +189,20 @@ struct Isomorphic : public IndexNotationVisitorStrict {
189
189
}
190
190
}
191
191
if (anode->isAccessingStructure != bnode->isAccessingStructure ||
192
- anode->windowedModes != bnode->windowedModes ||
193
- anode->indexSetModes != bnode->indexSetModes ) {
192
+ anode->windowedModes != bnode->windowedModes ) {
193
+ eq = false ;
194
+ return ;
195
+ }
196
+ if (anode->indexSetModes .size () != bnode->indexSetModes .size ()) {
194
197
eq = false ;
195
198
return ;
196
199
}
200
+ for (auto aset = anode->indexSetModes .begin (), bset = bnode->indexSetModes .begin (); aset != anode->indexSetModes .end (); ++aset, ++bset) {
201
+ if (aset->first != bset->first || *aset->second .set != *bset->second .set ) {
202
+ eq = false ;
203
+ return ;
204
+ }
205
+ }
197
206
eq = true ;
198
207
}
199
208
You can’t perform that action at this time.
0 commit comments