From 0678590e7714f1f03eada4870d36dfd5b4b57e38 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 12 May 2021 20:15:40 +0200 Subject: [PATCH] added MAXMDIM guard --- hypgraph.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypgraph.cpp b/hypgraph.cpp index 84890d3c..ea649fc3 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -2783,7 +2783,9 @@ EX bool do_draw(cell *c, const shiftmatrix& T) { return true; } + #if MAXMDIM >= 4 if(rots::drawing_underlying && euclid && hdist0(tC0(T)) > 6) return false; + #endif if(just_gmatrix && sphere) return true; if(!do_draw(c)) return false; if(euclid && pmodel == mdSpiral) {