gpushxto0 no longer returns an incorrect result in nonisotropic

This commit is contained in:
Zeno Rogue 2020-04-17 17:44:42 +02:00
parent 87168241ee
commit 5c98118da3
1 changed files with 2 additions and 0 deletions

View File

@ -702,6 +702,8 @@ EX transmatrix rpushxto0(const hyperpoint& H) {
EX transmatrix ggpushxto0(const hyperpoint& H, ld co) {
if(translatable) {
if(nonisotropic)
return co > 0 ? eupush(H) : inverse(eupush(H));
return eupush(co * H);
}
if(prod) {