aboutsummaryrefslogtreecommitdiff
path: root/src/cell_tool.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-02-22 15:25:09 +0100
committerThomas White <taw@physics.org>2019-03-11 16:49:37 +0100
commit68e620fe6dd73ef41327f7ebba1c40f9a9ae8b1b (patch)
tree6b596e857eba3c35502fb4aa0b80572554e38185 /src/cell_tool.c
parent830868c3edd603fc2466248ed363066f312c9ac8 (diff)
cell_tool --find-ambi: Work without -y
It's not super-helpful, but the manual say it works, so...
Diffstat (limited to 'src/cell_tool.c')
-rw-r--r--src/cell_tool.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cell_tool.c b/src/cell_tool.c
index 20e156a1..4a2e17f9 100644
--- a/src/cell_tool.c
+++ b/src/cell_tool.c
@@ -263,8 +263,7 @@ static int find_ambi(UnitCell *cell, SymOpList *sym, double ltl, double atl)
set_symmetry_name(ops, "Observed");
if ( sym == NULL ) {
- ERROR("Please specify the point group of the structure.\n");
- return 1;
+ sym = get_pointgroup("1");
}
STATUS("Looking for ambiguities up to %ix each lattice length.\n", maxorder);