diff options
Diffstat (limited to 'crystal.c')
-rw-r--r-- | crystal.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -94,7 +94,8 @@ double plane_angle(Cell cell, double h1, double k1, double l1, d2 = dspacing(cell, h2, k2, l2); dd_over_Vsq = d1*d2 / pow(volume(cell), 2); - return acos(dd_over_Vsq * sum_S_terms); + /* Bodge to put the axes in the right place */ + return M_PI - acos(dd_over_Vsq * sum_S_terms); } |