aboutsummaryrefslogtreecommitdiff
path: root/tests
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 /tests
parenta99bb041b12d6f10a00e75a4d76083767199a7a7 (diff)
Be clear about whether functions need rational or integer transformations
Diffstat (limited to 'tests')
-rw-r--r--tests/transformation_check.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/transformation_check.c b/tests/transformation_check.c
index 2eb01aa6..c5dad16c 100644
--- a/tests/transformation_check.c
+++ b/tests/transformation_check.c
@@ -176,11 +176,11 @@ static int check_transformation(UnitCell *cell, IntegerMatrix *tfn,
STATUS("-----------------------\n");
if ( ct == NULL ) {
- cnew = cell_transform(cell, tfn);
+ cnew = cell_transform_intmat(cell, tfn);
} else {
cnew = ct;
}
- cback = cell_transform_inverse(cnew, tfn);
+ cback = cell_transform_intmat_inverse(cnew, tfn);
STATUS("----> Before transformation:\n");
cell_print(cell);
@@ -257,7 +257,7 @@ static int check_identity(UnitCell *cell, IntegerMatrix *tfn)
STATUS("-----------------------\n");
- cnew = cell_transform(cell, tfn);
+ cnew = cell_transform_intmat(cell, tfn);
STATUS("----> Before identity transformation:\n");
cell_print(cell);