diff options
author | Thomas White <taw@physics.org> | 2011-04-13 17:10:43 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:24 +0100 |
commit | bf8f47751a6618a52424cfed9af6124cec913539 (patch) | |
tree | 8b20b6f8a81efa5112cb516639102c27629a8709 /src/cell.c | |
parent | 9380767017fce2478a1460cab42d5f62a48a0404 (diff) |
Ensure all parts of cell are set by cell_rotate()
Diffstat (limited to 'src/cell.c')
-rw-r--r-- | src/cell.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -539,7 +539,7 @@ UnitCell *cell_rotate(UnitCell *in, struct quaternion quat) { struct rvec a, b, c; struct rvec an, bn, cn; - UnitCell *out = cell_new(); + UnitCell *out = cell_new_from_cell(in); cell_get_cartesian(in, &a.u, &a.v, &a.w, &b.u, &b.v, &b.w, |