diff options
author | Thomas White <taw@physics.org> | 2020-05-28 14:34:10 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:57 +0200 |
commit | c5424abc8fccfa6b205db45f0ae2d64a362f01f5 (patch) | |
tree | 98b6a331c27481b8648faa62733f26a50919897e /src/partialator.c | |
parent | ab352f28b1c9d2691e4f39730b0ad5adf056426b (diff) |
Convert stream to DataTemplate
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; } |