From 6e92cba9fe4439edbe0286d343467e905908e073 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 15 May 2019 09:38:11 +0200 Subject: [PATCH] 2D3D:: fixed a crash in Euclidean+Archimedean+2.5D --- hypgraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index 982aaf02..13db965b 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -1203,7 +1203,7 @@ void optimizeview() { heptagon *h2 = createStep(viewctr.at, i1); transmatrix T = currentmap->relative_matrix(h2, viewctr.at); #if MAXMDIM >= 4 - if(euclid && DIM == 3) + if(euclid && WDIM == 3) T = euclid3::move_matrix(viewctr.at->c7, i); #endif hyperpoint H = View * tC0(T);