cellrotations are now structs, and include inverses

This commit is contained in:
Zeno Rogue committed 2020-01-28 17:58:55 +01:00
1 parent 7fd199dd49
commit 100b8f3534
3 files changed
+15 -4

No files matched your search

+1 -1
View File
@@ -633,7 +633,7 @@ struct hrmap_crystal : hrmap_standard {
for(auto& cr: cgi.cellrotations) {
transmatrix U = T * cr.first;
transmatrix U = T * cr.M;
ld go = hdist0(U * tC0(reg3::adjmoves[h->c.spin(d)]));
if(go > 1e-2) continue;