From 8c5df8dfd4bae56eaf28d5bab6be741b70f97aeb Mon Sep 17 00:00:00 2001 From: ? Date: Wed, 27 Feb 2019 17:59:20 +0100 Subject: [PATCH] 3d:: in ggmatrix fixed [2][2] to [DIM][DIM] --- geometry2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry2.cpp b/geometry2.cpp index a402164c..8970354e 100644 --- a/geometry2.cpp +++ b/geometry2.cpp @@ -219,7 +219,7 @@ transmatrix calc_relative_matrix(cell *c2, cell *c1, const hyperpoint& point_hin transmatrix &ggmatrix(cell *c) { transmatrix& t = gmatrix[c]; - if(t[2][2] == 0) { + if(t[DIM][DIM] == 0) { if(euwrap && centerover.at) t = calc_relative_matrix(c, centerover.at, C0); else if(euclid && DIM == 2) {