From 8a2e9b7a73ad319c8eba3d594fa8d26c517b7f02 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 14 Nov 2019 19:23:27 +0100 Subject: [PATCH] fixed iddspin --- cell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cell.cpp b/cell.cpp index a5450acd..ce374faa 100644 --- a/cell.cpp +++ b/cell.cpp @@ -60,7 +60,7 @@ struct hrmap { virtual transmatrix spin_from(cell *c, int d, ld bonus=0) { ld sa = spin_angle(c, d); if(sa != SPIN_NOT_AVAILABLE) { return spin(bonus - sa); } - transmatrix T = spintox(tC0(iadj(c, d))); + transmatrix T = spintox(tC0(adj(c, d))); if(WDIM == 3) return T * cspin(2, 0, bonus); return T * spin(bonus); }