mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 23:30:25 +00:00
product:: fixed cosh to cos_auto
This commit is contained in:
parent
597140e28d
commit
712f740657
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user