diff options
author | Tom White <weiss@jade.(none)> | 2008-09-23 18:23:33 +0100 |
---|---|---|
committer | Thomas White <taw27@cam.ac.uk> | 2008-10-02 17:56:45 +0100 |
commit | 870fffcb7b62a718037371f74e2d3fb8bfc3a6b2 (patch) | |
tree | 12bf17237935054cf25599173940f36f217d851f | |
parent | 2416ecc5cd0da4a2b32fded18cec1adf0752fceb (diff) |
Make refinetest3d ignore bz and cy
-rw-r--r-- | src/refinetest3d.c | 16 |
1 files 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; } |