aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ambigator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ambigator.c b/src/ambigator.c
index 26722aad..601e2d49 100644
--- a/src/ambigator.c
+++ b/src/ambigator.c
@@ -1122,7 +1122,8 @@ int main(int argc, char *argv[])
cur.det = NULL;
- if ( read_chunk(st, &cur) != 0 ) {
+ if ( read_chunk_2(st, &cur, STREAM_READ_UNITCELL
+ | STREAM_READ_REFLECTIONS) != 0 ) {
break;
}