fixed hdist computation in SL, also fixed hpxy and hpxy

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:15 +02:00
1 parent 50052f27f5
commit 47d309e408
3 files changed
+10 -3

No files matched your search

+5 -1
View File
@@ -215,8 +215,10 @@ struct horo_distance {
b = intval(h1, C0);
a = abs(binary::horo_level(h1));
}
else
#endif
else if(hybri)
a = 0, b = hdist(h1, C0);
else
a = 0, b = intval(h1, C0);
}
@@ -227,6 +229,8 @@ struct horo_distance {
if(binarytiling) become(inverse(T) * h1);
else
#endif
if(sol || hybri) become(inverse(T) * h1);
else
a = 0, b = intval(h1, tC0(T));
}
bool operator < (const horo_distance z) {