fixed confusion in 3D elliptic spaces

This commit is contained in:
Zeno Rogue 2019-10-27 00:45:34 +02:00
parent d0ef1c7578
commit 29d1427154
1 changed files with 3 additions and 1 deletions

View File

@ -887,7 +887,9 @@ EX namespace reg3 {
dynamicval<hrmap*> cm(currentmap, binary_map);
T = binary_map->relative_matrix(p2.first, p1.first);
}
return inverse(p1.second) * T * p2.second;
T = inverse(p1.second) * T * p2.second;
if(elliptic && T[LDIM][LDIM] < 0) T = centralsym * T;
return T;
}
vector<hyperpoint> get_vertices(cell* c) override {