diff options
author | Thomas White <taw@physics.org> | 2011-03-07 17:31:30 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:18 +0100 |
commit | 33798dda6cce6c5d14df912ba11ff86fb4de0d40 (patch) | |
tree | 7c4056cb468053778c99c4a7c2283013797194f9 /src/geometry.c | |
parent | 91fcc695e253eb1085b55f0ff0978a9f0379cd8d (diff) |
Remove hardcoded resolution limit in find_intersections()
Diffstat (limited to 'src/geometry.c')
-rw-r--r-- | src/geometry.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/geometry.c b/src/geometry.c index f8b74148..2fc44445 100644 --- a/src/geometry.c +++ b/src/geometry.c @@ -248,8 +248,7 @@ RefList *find_intersections(struct image *image, UnitCell *cell, &bsx, &bsy, &bsz, &csx, &csy, &csz); - /* FIXME: Get this from image */ - mres = 1.0 / 8.0e-10; /* 8 Angstroms */ + mres = largest_q(image); hmax = mres / modulus(asx, asy, asz); kmax = mres / modulus(bsx, bsy, bsz); lmax = mres / modulus(csx, csy, csz); |