From cca6b1b72158368511a5e67aeac151de647388e1 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 1 May 2023 15:50:06 +0200 Subject: [PATCH] embeddings:: fixed a typo in emb_same_in_same::actual_to_base --- embeddings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embeddings.cpp b/embeddings.cpp index 6c2be187..a3ea43ca 100644 --- a/embeddings.cpp +++ b/embeddings.cpp @@ -519,7 +519,7 @@ struct emb_same_in_same : emb_actual { transmatrix actual_to_base(const transmatrix &T0) override { auto T = T0; for(int i=0; i<4; i++) T[i][2] = T[i][3], T[i][3] = 0; - for(int i=0; i<4; i++) T[2][i] = T[3][i], T[i][3] = 0; + for(int i=0; i<4; i++) T[2][i] = T[3][i], T[3][i] = 0; T[3][3] = 1; fixmatrix(T); for(int i=0; i