From f09ed715f1a1b0aa64dc24a852454e056a589227 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 3 Jul 2020 14:42:56 +0200 Subject: [PATCH] small bug fix in inverse_exp --- hyperpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperpoint.cpp b/hyperpoint.cpp index c980105f..9c9ea8dd 100644 --- a/hyperpoint.cpp +++ b/hyperpoint.cpp @@ -1239,7 +1239,7 @@ EX hyperpoint inverse_exp(const hyperpoint h, flagtype prec IS(pNORMAL)) { if(sl2) return slr::get_inverse_exp(h); if(prod) return product::inverse_exp(h); ld d = acos_auto_clamp(h[GDIM]); - hyperpoint v; + hyperpoint v = Hypc; if(d && sin_auto(d)) for(int i=0; i