diff --git a/penrose.cpp b/penrose.cpp index 188af6e6..d074a9ef 100644 --- a/penrose.cpp +++ b/penrose.cpp @@ -311,8 +311,8 @@ struct hrmap_kite : hrmap { } transmatrix relative_matrix(heptagon *h2, heptagon *h1) override { - /* if(gmatrix0.count(h2->c7) && gmatrix0.count(h1->c7)) - return inverse(gmatrix0[h1->c7]) * gmatrix0[h2->c7]; */ + if(gmatrix0.count(h2->c7) && gmatrix0.count(h1->c7)) + return inverse(gmatrix0[h1->c7]) * gmatrix0[h2->c7]; transmatrix gm = Id, where = Id; while(h1 != h2) { if(h1->distance <= h2->distance)