From e7253737e57645168089fa2ec417c8994a28606b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 16 Oct 2009 17:13:03 +0200 Subject: Remove unnecessary debugging output --- src/cell.c | 7 ------- src/hdf5-file.c | 3 --- src/relrod.c | 1 - 3 files changed, 11 deletions(-) diff --git a/src/cell.c b/src/cell.c index caba187e..7f726fab 100644 --- a/src/cell.c +++ b/src/cell.c @@ -205,11 +205,4 @@ void cell_get_reciprocal(UnitCell *cell, *asz = gsl_matrix_get(inv, 2, 0); *bsz = gsl_matrix_get(inv, 2, 1); *csz = gsl_matrix_get(inv, 2, 2); - - printf("a* = %+8.5f %+8.5f %+8.5f nm^-1\n", - *asx/1e9, *asy/1e9, *asz/1e9); - printf("b* = %+8.5f %+8.5f %+8.5f nm^-1\n", - *bsx/1e9, *bsy/1e9, *bsz/1e9); - printf("c* = %+8.5f %+8.5f %+8.5f nm^-1\n", - *csx/1e9, *csy/1e9, *csz/1e9); } diff --git a/src/hdf5-file.c b/src/hdf5-file.c index 8a7ffbab..46538c76 100644 --- a/src/hdf5-file.c +++ b/src/hdf5-file.c @@ -108,9 +108,6 @@ int hdf5_read(struct image *image, const char *filename) } H5Sget_simple_extent_dims(sh, size, max_size); - printf("Data dimensions %i %i (max %i %i)\n", - (int)size[1], (int)size[0], - (int)max_size[1], (int)max_size[0]); buf = malloc(sizeof(float)*size[0]*size[1]); diff --git a/src/relrod.c b/src/relrod.c index 0d1b1e63..f9ae68c9 100644 --- a/src/relrod.c +++ b/src/relrod.c @@ -91,7 +91,6 @@ void get_reflections(struct image *image, UnitCell *cell, double smax) " (resolution cutoff calculation)\n"); return; } - printf("Resolution cutoff is %5.2f nm^-1\n", res_max/1e9); res_max = pow(res_max, 2.0); /* Calculate the (normalised) incident electron wavevector */ -- cgit v1.2.3