aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-10-16 17:13:03 +0200
committerThomas White <taw@bitwiz.org.uk>2009-10-16 17:13:15 +0200
commite7253737e57645168089fa2ec417c8994a28606b (patch)
tree1532bfef8daaa205a0ab5431d14fe15729199e46
parent8b883cd945ec49ec117ceee3b82760eb20d5c3a6 (diff)
Remove unnecessary debugging output
-rw-r--r--src/cell.c7
-rw-r--r--src/hdf5-file.c3
-rw-r--r--src/relrod.c1
3 files changed, 0 insertions, 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 */