rug:: gethyper no longer finds invalid triangles

This commit is contained in:
Zeno Rogue 2019-04-29 03:38:27 +02:00
parent 2710694df7
commit e22602e343
1 changed files with 1 additions and 0 deletions

View File

@ -1745,6 +1745,7 @@ hyperpoint gethyper(ld x, ld y) {
auto r1 = triangles[i].m[1];
auto r2 = triangles[i].m[2];
if(!r2) continue;
if(!r0->valid || !r1->valid || !r2->valid) continue;
hyperpoint p0, p1, p2;
bool error = false;
int spherepoints = 0;