aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/asdf.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-08-14 14:04:32 +0200
committerThomas White <taw@physics.org>2019-08-16 10:26:58 +0200
commitaf115ec0a455929352fef516c35d2b77cd283e9d (patch)
tree5c424b7c44426287ccb86c15adbe951fc0d3b922 /libcrystfel/src/asdf.c
parent2676cb9d314bb0dbe128738e8ced25de75129802 (diff)
cell_volume: Give answer in m^3, not m^3
Diffstat (limited to 'libcrystfel/src/asdf.c')
-rw-r--r--libcrystfel/src/asdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/asdf.c b/libcrystfel/src/asdf.c
index 72b110d7..6c9e6ca0 100644
--- a/libcrystfel/src/asdf.c
+++ b/libcrystfel/src/asdf.c
@@ -1083,7 +1083,7 @@ int run_asdf(struct image *image, void *ipriv)
d_max = max(a, b, c) * 3 * 1e10;
- double volume = cell_get_volume(dp->template);
+ double volume = cell_get_volume(dp->template) / 1e30;
/* Divide volume constraints by number of lattice points per
* unit cell since asdf always finds primitive cell */