From 169e7c5677ffc9c296c0a7eeddb0b77e024a4a55 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 18 Feb 2019 16:04:28 +0100 Subject: Be clear about whether functions need rational or integer transformations --- tests/transformation_check.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/transformation_check.c') 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); -- cgit v1.2.3