From 8ce805372dea60335dabd40fd22ee06b8a796ea7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 11 Jan 2024 15:23:18 +0100 Subject: [PATCH] savemem:: larger allh array --- savemem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/savemem.cpp b/savemem.cpp index 829ac3dc..7d29ef3a 100644 --- a/savemem.cpp +++ b/savemem.cpp @@ -125,7 +125,7 @@ EX void save_memory() { // go back to such a point X that all the heptagons adjacent to the current 'at' // are the children of X. This X becomes the new 'at' if(true) { - heptagon *allh[9]; + heptagon *allh[MAX_EDGE+1]; int hcount = 0; allh[hcount++] = at; for(int j=0; j