Skip to content

Commit

Permalink
that was so stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
H-A-M-G-E-R committed Nov 22, 2023
1 parent 8759b94 commit 8e7db4d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions miratope-core/src/conc/faceting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2036,9 +2036,10 @@ impl Concrete {
new_facet[2] = new_list;

new_facet.element_sort_strong_with_local(facet_local);
facet_set.insert(new_facet.clone());
facet_vec.push(new_facet); // have to do this so you can predict the facet index
// also it makes the facets sorted by type so that's cool
if facet_set.insert(new_facet.clone()) {
facet_vec.push(new_facet); // have to do this so you can predict the facet index
// also it makes the facets sorted by type so that's cool
}
}
}

Expand Down

0 comments on commit 8e7db4d

Please sign in to comment.