From 25fb183059d36fb8fea5ea2826dab1a6d456eeb9 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 29 Mar 2023 09:34:18 +0200 Subject: [PATCH] fixed regenerate hat in seo --- aperiodic-hat.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aperiodic-hat.cpp b/aperiodic-hat.cpp index ac959206..fa9f6ebd 100644 --- a/aperiodic-hat.cpp +++ b/aperiodic-hat.cpp @@ -712,6 +712,10 @@ struct hrmap_hat : hrmap { build_cells(origin); } + void on_dim_change() override { + init(); + } + transmatrix relative_matrixh(heptagon *h2, heptagon *h1, const hyperpoint& hint) override { if(h1 == h2) return Id; int d = h2->distance + 2;