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/ambigator.c | |
parent | ab352f28b1c9d2691e4f39730b0ad5adf056426b (diff) |
Convert stream to DataTemplate
Diffstat (limited to 'src/ambigator.c')
-rw-r--r-- | src/ambigator.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ambigator.c b/src/ambigator.c index 800c05de..b4e4b8f8 100644 --- a/src/ambigator.c +++ b/src/ambigator.c @@ -1256,8 +1256,9 @@ int main(int argc, char *argv[]) cur.det = NULL; - if ( read_chunk_2(st, &cur, STREAM_READ_UNITCELL - | STREAM_READ_REFLECTIONS) != 0 ) { + if ( read_chunk(st, &cur, NULL, + STREAM_READ_UNITCELL | STREAM_READ_REFLECTIONS) != 0 ) + { break; } |