replaced some instances of double to ld, so that everything compiles when ld is redefined to float

This commit is contained in:
Zeno Rogue
2019-09-12 22:43:00 +02:00
parent aefea03ce1
commit 6e26508a77
8 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -584,7 +584,7 @@ transmatrix inverse(const transmatrix& T) {
}
// distance between mh and 0
double hdist0(const hyperpoint& mh) {
ld hdist0(const hyperpoint& mh) {
switch(cgclass) {
case gcHyperbolic:
if(mh[DIM] < 1) return 0;
@@ -616,7 +616,7 @@ ld circlelength(ld r) {
}
// distance between two points
double hdist(const hyperpoint& h1, const hyperpoint& h2) {
ld hdist(const hyperpoint& h1, const hyperpoint& h2) {
// return hdist0(gpushxto0(h1) * h2);
ld iv = intval(h1, h2);
switch(cgclass) {