aboutsummaryrefslogtreecommitdiff
path: root/src/geometry.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/geometry.c')
-rw-r--r--src/geometry.c3
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);