diff options
author | Thomas White <taw@physics.org> | 2011-04-28 14:01:04 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:24 +0100 |
commit | c4461bd57014f406113b96b0f100d6f6fac0591a (patch) | |
tree | 654f5608c853aa48580f7adb847cc46fc5deeb5c /src/partial_sim.c | |
parent | c7b2d46aee6d33d874c846408627144963999f61 (diff) |
partial_sim: Rotate the correct cell
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r-- | src/partial_sim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c index 2c2493e9..44591b26 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -255,7 +255,7 @@ int main(int argc, char *argv[]) /* Alter the cell by a tiny amount */ image.filename = "(simulated 2)"; - new = rotate_cell(cell, deg2rad(1.0), deg2rad(0.0), 0.0); + new = rotate_cell(image.indexed_cell, deg2rad(1.0), deg2rad(0.0), 0.0); cell_free(image.indexed_cell); image.indexed_cell = new; |