aboutsummaryrefslogtreecommitdiff
path: root/src/cell_tool.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-02-18 16:04:28 +0100
committerThomas White <taw@physics.org>2019-03-11 16:49:37 +0100
commit169e7c5677ffc9c296c0a7eeddb0b77e024a4a55 (patch)
tree22300e7089eec9b552cef75868717d98b0fca509 /src/cell_tool.c
parenta99bb041b12d6f10a00e75a4d76083767199a7a7 (diff)
Be clear about whether functions need rational or integer transformations
Diffstat (limited to 'src/cell_tool.c')
-rw-r--r--src/cell_tool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cell_tool.c b/src/cell_tool.c
index 12a00192..20e156a1 100644
--- a/src/cell_tool.c
+++ b/src/cell_tool.c
@@ -119,7 +119,7 @@ static int comparecells(UnitCell *cell, const char *comparecell,
if ( intmat_det(m) < 1 ) continue;
- nc = cell_transform(cell, m);
+ nc = cell_transform_intmat(cell, m);
if ( compare_cell_parameters(cell2, nc, ltl, atl) ) {
STATUS("-----------------------------------------------"
@@ -294,7 +294,7 @@ static int find_ambi(UnitCell *cell, SymOpList *sym, double ltl, double atl)
if ( intmat_det(m) != +1 ) continue;
- nc = cell_transform(cell, m);
+ nc = cell_transform_intmat(cell, m);
if ( compare_cell_parameters(cell, nc, ltl, atl) ) {
if ( !intmat_is_identity(m) ) add_symop(ops, m);