diff options
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r-- | src/partial_sim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c index 44591b26..53018026 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -38,9 +38,9 @@ static void mess_up_cell(UnitCell *cell) double bx, by, bz; double cx, cy, cz; - cell_get_cartesian(cell, &ax, &ay, &az, &bx, &by, &bz, &cx, &cy, &cz); + cell_get_reciprocal(cell, &ax, &ay, &az, &bx, &by, &bz, &cx, &cy, &cz); ax += 0.008*ax; - cell_set_cartesian(cell, ax, ay, az, bx, by, bz, cx, cy, cz); + cell_set_reciprocal(cell, ax, ay, az, bx, by, bz, cx, cy, cz); } |