aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r--src/pattern_sim.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index b83677b7..b6988dea 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -1049,8 +1049,7 @@ int main(int argc, char *argv[])
Crystal *cr;
/* Get data from next chunk */
- templ_image = stream_read_chunk(st,
- STREAM_CRYSTALS);
+ templ_image = stream_read_chunk(st, 0);
if ( templ_image == NULL ) break;
if ( templ_image->n_crystals == 0 ) continue;