aboutsummaryrefslogtreecommitdiff
path: root/tests/transformation_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/transformation_check.c')
-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);