aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-06-08 17:10:37 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:44 +0200
commitdf4acdb43b3c713197f8d847587fa1e060692ba4 (patch)
tree51b50184c67f6f39a5618dbccffa9d3d6e347f9b /libcrystfel/src
parent230113ea3ff6efb2a52b91138e6295801b62603a (diff)
Convert indexamajig to new Stream API
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/utils.h b/libcrystfel/src/utils.h
index 9607708f..d90ae461 100644
--- a/libcrystfel/src/utils.h
+++ b/libcrystfel/src/utils.h
@@ -80,6 +80,8 @@ extern gsl_vector *solve_svd(gsl_vector *v, gsl_matrix *M, int *n_filt,
extern size_t notrail(char *s);
extern void chomp(char *s);
+#define CLEAR_BIT(val, bit) (((val) | (bit)) ^ (bit))
+
/**
* Controls the behaviour of \ref assplode.
**/