1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 07:30:26 +00:00

product:: fixed cosh to cos_auto

This commit is contained in:
Zeno Rogue 2019-08-20 18:27:39 +02:00
parent 597140e28d
commit 712f740657

View File

@ -714,7 +714,7 @@ EX namespace product {
ld cd = d == 0 ? 0 : sinh(d) / d; ld cd = d == 0 ? 0 : sinh(d) / d;
res[0] = h[0] * cd; res[0] = h[0] * cd;
res[1] = h[1] * cd; res[1] = h[1] * cd;
res[2] = cosh(d); res[2] = cos_auto(d);
return zshift(res, h[2]); return zshift(res, h[2]);
} }