From f5600a65ff53bc6e9acb5570c49058527231149e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 11 Mar 2020 11:33:47 +0100 Subject: [PATCH] fixed a potential problem in floorshapes --- floorshapes.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/floorshapes.cpp b/floorshapes.cpp index 8caf3a85..1cffd9e7 100644 --- a/floorshapes.cpp +++ b/floorshapes.cpp @@ -640,6 +640,7 @@ void geometry_information::generate_floorshapes() { heptagon modelh; cell model; model.master = &modelh; + modelh.c7 = &model; model.type = modelh.type = S7; auto mmerge1 = [&] (int i, int j) { model.c.setspin(i, j, false); modelh.c.setspin(i, j, false); };