aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c2
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;