diff options
author | Thomas White <taw@physics.org> | 2019-04-26 16:27:50 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-09-12 16:35:52 +0200 |
commit | 4e1d9e63c06169baf5c1966aeddc958591890d9a (patch) | |
tree | 7941e96dabb13acc1b0870088329921f18694863 /src | |
parent | 65deebdcc51030002d1f210cc121a06255055e67 (diff) |
Use +INFINITY instead of FLT_MAX
Diffstat (limited to 'src')
-rw-r--r-- | src/indexamajig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 5770051a..a67c1a5d 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -391,7 +391,7 @@ int main(int argc, char *argv[]) iargs.pinkIndexer_opts.angle_resolution = 2; iargs.pinkIndexer_opts.refinement_type = 1; iargs.pinkIndexer_opts.tolerance = 0.06; - iargs.pinkIndexer_opts.maxResolutionForIndexing_1_per_A = FLT_MAX; + iargs.pinkIndexer_opts.maxResolutionForIndexing_1_per_A = +INFINITY; iargs.pinkIndexer_opts.thread_count = 1; iargs.pinkIndexer_opts.multi = 0; iargs.pinkIndexer_opts.no_check_indexed = 0; |