From fdcba734c976510e57219017ec0f5b66b82c3e8e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 21 Sep 2020 12:03:32 +0200 Subject: [PATCH] fixed direct_exp in S2xE --- nonisotropic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonisotropic.cpp b/nonisotropic.cpp index 642a6fe3..a24b87eb 100644 --- a/nonisotropic.cpp +++ b/nonisotropic.cpp @@ -1614,7 +1614,7 @@ EX namespace product { EX hyperpoint direct_exp(hyperpoint h) { hyperpoint res; ld d = hypot_d(2, h); - ld cd = d == 0 ? 0 : sinh(d) / d; + ld cd = d == 0 ? 0 : sin_auto(d) / d; res[0] = h[0] * cd; res[1] = h[1] * cd; res[2] = cos_auto(d);