From bf8f47751a6618a52424cfed9af6124cec913539 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 13 Apr 2011 17:10:43 +0200 Subject: Ensure all parts of cell are set by cell_rotate() --- src/cell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cell.c') diff --git a/src/cell.c b/src/cell.c index cb846db5..a2507319 100644 --- a/src/cell.c +++ b/src/cell.c @@ -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, -- cgit v1.2.3