Commit 0ebb75f 1 parent db45ef0 commit 0ebb75f Copy full SHA for 0ebb75f
File tree 1 file changed +4
-8
lines changed
src/include/souffle/datastructure
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -114,14 +114,10 @@ class EquivalenceRelation {
114
114
other.genAllDisjointSetLists ();
115
115
116
116
// iterate over partitions at a time
117
- for (typename StatesMap::chunk it : other.equivalencePartition .getChunks (MAX_THREADS)) {
118
- for (auto & p : it) {
119
- value_type rep = p.first ;
120
- StatesList& pl = *p.second ;
121
- const std::size_t ksize = pl.size ();
122
- for (std::size_t i = 0 ; i < ksize; ++i) {
123
- this ->sds .unionNodes (rep, pl.get (i));
124
- }
117
+ for (auto && [rep, pl] : other.equivalencePartition ) {
118
+ const std::size_t ksize = pl->size ();
119
+ for (std::size_t i = 0 ; i < ksize; ++i) {
120
+ this ->sds .unionNodes (rep, pl->get (i));
125
121
}
126
122
}
127
123
// invalidate iterators unconditionally
You can’t perform that action at this time.
0 commit comments