From 3508a42efc430873c783b2e41a78cc826060063c Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 23 Mar 2019 16:31:29 +0100 Subject: [PATCH] mzscale in 3D no longer tries to do weird things --- hyperpoint.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hyperpoint.cpp b/hyperpoint.cpp index 636d62b0..f5793be6 100644 --- a/hyperpoint.cpp +++ b/hyperpoint.cpp @@ -639,6 +639,7 @@ transmatrix xyzscale(const transmatrix& t, double fac, double facz) { // double downspin_zivory; transmatrix mzscale(const transmatrix& t, double fac) { + if(DIM == 3) return t * cpush(2, fac); // take only the spin transmatrix tcentered = gpushxto0(tC0(t)) * t; // tcentered = tcentered * spin(downspin_zivory);