diff options
author | Thomas White <taw@physics.org> | 2016-10-19 14:36:51 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-10-19 14:36:51 +0200 |
commit | f40d82f45579c0d23d577351acc23347d08d26e6 (patch) | |
tree | 66dd15656a85fd04dcfcad955c71bf7fa13d7bf3 | |
parent | dc4dd18561abf7403383ce3171ce3bd9c935a727 (diff) |
Fix units in constants
-rw-r--r-- | libcrystfel/src/taketwo.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c index 8b5fadbd..c84a2d8d 100644 --- a/libcrystfel/src/taketwo.c +++ b/libcrystfel/src/taketwo.c @@ -71,19 +71,19 @@ struct taketwo_private /* Maximum distance between two rlp sizes to consider info for indexing */ -#define MAX_RECIP_DISTANCE 0.15 +#define MAX_RECIP_DISTANCE (0.15*1e10) /* Tolerance for two lengths in reciprocal space to be considered the same */ -#define RECIP_TOLERANCE 0.001 +#define RECIP_TOLERANCE (0.001*1e10) /* Threshold for network members to consider a potential solution */ -#define NETWORK_MEMBER_THRESHOLD 20 +#define NETWORK_MEMBER_THRESHOLD (20) /* Maximum network members (obviously a solution so should stop) */ -#define MAX_NETWORK_MEMBERS 100 +#define MAX_NETWORK_MEMBERS (100) /* Maximum dead ends for a single branch extension during indexing */ -#define MAX_DEAD_ENDS 5 +#define MAX_DEAD_ENDS (5) /* Tolerance for two angles to be considered the same */ #define ANGLE_TOLERANCE (deg2rad(1.0)) |