diff options
Diffstat (limited to 'src/partialator.c')
-rw-r--r-- | src/partialator.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/partialator.c b/src/partialator.c index 032eb0d9..b7641d08 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -1379,8 +1379,9 @@ int main(int argc, char *argv[]) cur.div = NAN; cur.bw = NAN; cur.det = NULL; - if ( read_chunk_2(st, &cur, STREAM_READ_REFLECTIONS - | STREAM_READ_UNITCELL) != 0 ) { + if ( read_chunk(st, &cur, NULL, + STREAM_READ_REFLECTIONS | STREAM_READ_UNITCELL) != 0 ) + { break; } |