diff options
author | Thomas White <taw@physics.org> | 2013-01-04 17:32:24 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-01-04 17:32:24 +0100 |
commit | 10a8969c10ac739aa2aa3de826f6bf2aa9940262 (patch) | |
tree | 823e83bf53aa31d94079b37065b09ae73bf057ba /libcrystfel/src/utils.h | |
parent | b227f195cd8e3dfeae0212b1de7bdcb5a6fc837a (diff) |
Tidy up documentation
Diffstat (limited to 'libcrystfel/src/utils.h')
-rw-r--r-- | libcrystfel/src/utils.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libcrystfel/src/utils.h b/libcrystfel/src/utils.h index 951d9d03..b75693db 100644 --- a/libcrystfel/src/utils.h +++ b/libcrystfel/src/utils.h @@ -100,6 +100,11 @@ extern void show_matrix_eqn(gsl_matrix *M, gsl_vector *v, int r); extern size_t notrail(char *s); extern void chomp(char *s); +/** + * AssplodeFlag: + * @ASSPLODE_NONE: Nothing + * @ASSPLODE_DUPS: Don't merge deliminators + **/ typedef enum { ASSPLODE_NONE = 0, ASSPLODE_DUPS = 1<<0 @@ -141,7 +146,8 @@ static inline double modulus_squared(double x, double y, double z) { static inline double distance3d(double x1, double y1, double z1, double x2, double y2, double z2) { - return modulus(x1-x2, y1-y2, z1-z2); + double d = modulus(x1-x2, y1-y2, z1-z2); + return d; } /* Answer in radians */ |