Commit 3b277295 authored by Thomas White's avatar Thomas White
Browse files

asdf: Fix incorrect units conversion for cell volume

parent 886ae521
......@@ -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) / 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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment