From ababcdfee8338137cb6fd30c4f798191d89bfd75 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 8 Dec 2022 19:39:12 +0100 Subject: [PATCH] fixed a potential bug in generate_floorshapes() -- generate the models up to FULL_EDGE, as S6 could exceed S7 --- floorshapes.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/floorshapes.cpp b/floorshapes.cpp index c6e498b2..a84f0dd7 100644 --- a/floorshapes.cpp +++ b/floorshapes.cpp @@ -789,18 +789,20 @@ void geometry_information::generate_floorshapes() { cell model; model.master = &modelh; modelh.c7 = &model; - model.type = modelh.type = S7; + model.type = modelh.type = FULL_EDGE; auto mmerge1 = [&] (int i, int j) { model.c.setspin(i, j, false); modelh.c.setspin(i, j, false); }; auto mmerge = [&] (int i, int j) { mmerge1(i, j); mmerge1(j, i); }; - for(int i=0; i