aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-05-28 14:34:10 +0200
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commitc5424abc8fccfa6b205db45f0ae2d64a362f01f5 (patch)
tree98b6a331c27481b8648faa62733f26a50919897e /src/partialator.c
parentab352f28b1c9d2691e4f39730b0ad5adf056426b (diff)
Convert stream to DataTemplate
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c5
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;
}