diff options
author | Thomas White <taw@physics.org> | 2020-10-07 17:59:26 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-10-07 18:03:08 +0200 |
commit | 2a8f415df845064186baa833f9fe1ad91c0f5753 (patch) | |
tree | 2643818d5b2ae057a02c870781cb1a1752123097 /libcrystfel/src | |
parent | 10ece6d6fe90e934a5eba4d295afada331c94b73 (diff) |
asdf: Fix incorrect units conversion for cell volume
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/indexers/asdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/indexers/asdf.c b/libcrystfel/src/indexers/asdf.c index e72dcea1..806501cc 100644 --- a/libcrystfel/src/indexers/asdf.c +++ b/libcrystfel/src/indexers/asdf.c @@ -1094,7 +1094,7 @@ int run_asdf(struct image *image, void *ipriv) d_max = max(a, b, c) * 3 * 1e10; - double volume = cell_get_volume(dp->template) / 1e30; + 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 */ |