aboutsummaryrefslogtreecommitdiff
path: root/src/ambigator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-06-08 14:32:47 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:44 +0200
commit7225ef12ff703a332a1eabf846151798357e219a (patch)
tree45d9c860d9404746b45d2d56f18fdf692c90af29 /src/ambigator.c
parentdff386d1b0973c382e2453a91d9083480ee62175 (diff)
Fix ambigator (add include, remove image.det)
Diffstat (limited to 'src/ambigator.c')
-rw-r--r--src/ambigator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ambigator.c b/src/ambigator.c
index b4e4b8f8..64cb0636 100644
--- a/src/ambigator.c
+++ b/src/ambigator.c
@@ -43,6 +43,7 @@
#include <gsl/gsl_rng.h>
#include <gsl/gsl_permutation.h>
#include <gsl/gsl_randist.h>
+#include <hdf5.h>
#include <image.h>
#include <utils.h>
@@ -1254,8 +1255,6 @@ int main(int argc, char *argv[])
struct image cur;
int i;
- cur.det = NULL;
-
if ( read_chunk(st, &cur, NULL,
STREAM_READ_UNITCELL | STREAM_READ_REFLECTIONS) != 0 )
{