mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-28 06:39:55 +00:00
epsilon added in in_table_range
This commit is contained in:
parent
9f9ff6e6b3
commit
4fb0f7b30d
2
sol.cpp
2
sol.cpp
@ -284,7 +284,7 @@ namespace solv {
|
|||||||
ld ix = asinh(h[0]) * SXY;
|
ld ix = asinh(h[0]) * SXY;
|
||||||
ld iy = asinh(h[1]) * SXY;
|
ld iy = asinh(h[1]) * SXY;
|
||||||
ld iz = h[2] * SZ / log(2);
|
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) {
|
transmatrix get_solmul(const transmatrix T, const transmatrix V) {
|
||||||
|
Loading…
Reference in New Issue
Block a user