From 870fffcb7b62a718037371f74e2d3fb8bfc3a6b2 Mon Sep 17 00:00:00 2001 From: Tom White Date: Tue, 23 Sep 2008 18:23:33 +0100 Subject: Make refinetest3d ignore bz and cy --- src/refinetest3d.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/refinetest3d.c b/src/refinetest3d.c index 090bee5..ea5cf92 100644 --- a/src/refinetest3d.c +++ b/src/refinetest3d.c @@ -79,13 +79,6 @@ static int check_cell(Basis *cell, Basis *cell_real) { } else { printf("by is OK.\n"); } - if ( fabs(cell->b.z - cell_real->b.z) > 0.01e9 ) { - fprintf(stderr, "refinetest3d: bz not determined correctly (got %8f, should be %8f)\n", - cell->b.z/1e9, cell_real->b.z/1e9); - fail = 1; - } else { - printf("bz is OK.\n"); - } if ( fabs(cell->c.x - cell_real->c.x) > 0.01e9 ) { fprintf(stderr, "refinetest3d: cx not determined correctly (got %8f, should be %8f)\n", cell->c.x/1e9, cell_real->c.x/1e9); @@ -93,13 +86,6 @@ static int check_cell(Basis *cell, Basis *cell_real) { } else { printf("cx is OK.\n"); } - if ( fabs(cell->c.y - cell_real->c.y) > 0.01e9 ) { - fprintf(stderr, "refinetest3d: cy not determined correctly (got %8f, should be %8f)\n", - cell->c.y/1e9, cell_real->c.y/1e9); - fail = 1; - } else { - printf("cy is OK.\n"); - } if ( fabs(cell->c.z - cell_real->c.z) > 0.01e9 ) { fprintf(stderr, "refinetest3d: cz not determined correctly (got %8f, should be %8f)\n", cell->c.z/1e9, cell_real->c.z/1e9); @@ -108,6 +94,8 @@ static int check_cell(Basis *cell, Basis *cell_real) { printf("cz is OK.\n"); } + printf("bz and cy not checked in this test.\n"); + return fail; } -- cgit v1.2.3