1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

epsilon added in in_table_range

This commit is contained in:
Zeno Rogue 2019-07-28 11:49:55 +02:00
parent 9f9ff6e6b3
commit 4fb0f7b30d

View File

@ -284,7 +284,7 @@ namespace solv {
ld ix = asinh(h[0]) * SXY;
ld iy = asinh(h[1]) * SXY;
ld iz = h[2] * SZ / log(2);
return abs(ix) < PRECX && abs(iy) < PRECX && abs(iz) < PRECZ;
return abs(ix) <= PRECX && abs(iy) <= PRECX && abs(iz) <= PRECZ + 1e-2;
}
transmatrix get_solmul(const transmatrix T, const transmatrix V) {