From 9ab7b53b54b1ec02567918a39c6cb9a88da91dc7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 6 Mar 2019 16:31:29 +0100 Subject: [PATCH] 3d:: fixed iddspin --- graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index 75e0d7e3..9042a750 100644 --- a/graph.cpp +++ b/graph.cpp @@ -314,7 +314,7 @@ transmatrix ddspin(cell *c, int d, ld bonus) { } transmatrix iddspin(cell *c, int d, ld bonus) { - if(DIM == 3) return spintox(tC0(calc_relative_matrix(c->move(d), c, C0))) * cspin(0, 2, bonus); + if(DIM == 3) return cspin(0, 2, bonus) * spintox(tC0(calc_relative_matrix(c->move(d), c, C0))); return spin(hexshiftat(c) - displayspin(c, d) + bonus); }