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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index a0f60e1e..85222dd2 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -346,7 +346,7 @@ static void *create_job(void *vqargs)
struct image *image;
image = stream_read_chunk(qargs->template_stream,
- STREAM_UNITCELL | STREAM_REFLECTIONS);
+ STREAM_REFLECTIONS);
if ( image == NULL ) {
ERROR("Failed to read template chunk!\n");
return NULL;
@@ -473,9 +473,7 @@ static void finalise_job(void *vqargs, void *vwargs)
int ret;
ret = stream_write_chunk(qargs->stream, wargs->image,
- STREAM_UNITCELL
- | STREAM_REFLECTIONS
- | STREAM_CRYSTALS);
+ STREAM_REFLECTIONS);
if ( ret != 0 ) {
ERROR("WARNING: error writing stream file.\n");
}