make sure that mirror placement treats vertices differently

This commit is contained in:
Zeno Rogue committed 2018-08-30 16:10:49 +02:00
1 parent 76c303f80a
commit d5f3c3776a
2 files changed
+5

No files matched your search

+1
View File
@@ -1141,6 +1141,7 @@ namespace mirror {
// we go by heptagons in Archimedean,
bool equal(heptspin h1, heptspin h2, int lev) {
if(h1.at->degree() != h2.at->degree()) return false;
if(arcm::is_vertex(h1.at) != arcm::is_vertex(h2.at)) return false;
if(lev) for(int i=0; i<h1.at->degree(); i++) {
heptspin h11 = h1 + i + wstep;
heptspin h21 = h2 + i + wstep;