From 3cffc218e67c32f11c5f5e63f8787ea13388a237 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 13 Aug 2022 23:14:44 +0200 Subject: [PATCH] rulegen3:: genhoneycomb throws exception if rules not known --- rulegen3.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rulegen3.cpp b/rulegen3.cpp index ff7857ab..28c2f5d2 100644 --- a/rulegen3.cpp +++ b/rulegen3.cpp @@ -1386,6 +1386,7 @@ vector representative; void genhoneycomb(string fname) { if(WDIM != 3) throw hr_exception("genhoneycomb not in honeycomb"); + if(!known()) throw hr_exception("rules not known"); int qc = isize(t_origin);