From 08a8430379c52cedb4e026285aa73dd9547be17e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 22 Aug 2019 13:13:08 +0200 Subject: cellcompare_check: Variable for number of trials --- tests/cellcompare_check.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'tests/cellcompare_check.c') diff --git a/tests/cellcompare_check.c b/tests/cellcompare_check.c index 4a7d4913..107702c4 100644 --- a/tests/cellcompare_check.c +++ b/tests/cellcompare_check.c @@ -262,6 +262,7 @@ int main(int argc, char *argv[]) UnitCell *cell, *cref; gsl_rng *rng; int i; + const int ntrial = 100; double tols[] = { 0.01, 0.01, 0.01, deg2rad(1.0), deg2rad(1.0), deg2rad(1.0) }; @@ -277,7 +278,7 @@ int main(int argc, char *argv[]) if ( cref == NULL ) return 1; /* Just rotate cell */ - for ( i=0; i<100; i++ ) { + for ( i=0; i