From f7bcadab50d733e1a5342998972a9c6e7138493a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 16 Sep 2021 22:04:24 +0200 Subject: [PATCH] intra:: fix --- intra.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intra.cpp b/intra.cpp index a9600f2f..3d7b68f0 100644 --- a/intra.cpp +++ b/intra.cpp @@ -71,10 +71,10 @@ hyperpoint portal_data::to_poco(hyperpoint h) const { hyperpoint portal_data::from_poco(hyperpoint h) const { if(prod && kind == 1) { - ld d = h[2]; + ld xd = h[2]; h[2] = 1; auto z = product_decompose(h).first; - return h * exp(d+d-z); + return h * exp(d+xd-z); } else if(prod && kind == 0) { auto h0 = h;