sphere:: fixmatrix is now used so that numeric errors do not accumulate

This commit is contained in:
Zeno Rogue 2021-02-04 15:04:29 +01:00
parent e8aa080536
commit 243ba096e8
1 changed files with 2 additions and 0 deletions

View File

@ -181,6 +181,8 @@ struct hrmap_spherical : hrmap_standard {
transmatrix T = inverse_shift(gmatrix0[c1], gmatrix0[c2]);
if(elliptic && T[LDIM][LDIM] < 0)
T = centralsym * T;
fixmatrix(T);
return T;
}
else {