diff options
author | Thomas White <taw@physics.org> | 2011-06-29 11:06:09 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:28 +0100 |
commit | 4d72947ddfbe00c6a618c370c8458c605221701b (patch) | |
tree | 6b2df6427fc3a54f05c35a4f14ccd81594768b3f | |
parent | 2cb199e1062b3bba2f029eb8a0c5a51b9c4df2da (diff) |
General fussiness
-rw-r--r-- | src/indexamajig.c | 6 | ||||
-rw-r--r-- | src/stream.c | 8 |
2 files changed, 5 insertions, 9 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 49c7118e..00a7e3e8 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -315,11 +315,7 @@ static void process_image(void *pp, int cookie) if ( image.indexed_cell != NULL ) pargs->indexable = 1; - /* Measure intensities if requested */ - - /* Do EITHER: */ - - + /* Measure intensities */ if ( image.indexed_cell != NULL ) { image.div = beam->divergence; diff --git a/src/stream.c b/src/stream.c index e3bc3c87..54c31050 100644 --- a/src/stream.c +++ b/src/stream.c @@ -234,7 +234,7 @@ void write_chunk(FILE *ofh, struct image *i, int f) fprintf(ofh, "bstar = %+9.7f %+9.7f %+9.7f nm^-1\n", bsx/1e9, bsy/1e9, bsz/1e9); fprintf(ofh, "cstar = %+9.7f %+9.7f %+9.7f nm^-1\n", - csx/1e9, csy/1e9, csz/1e9); + csx/1e9, csy/1e9, csz/1e9); } else { @@ -452,12 +452,12 @@ int skip_some_files(FILE *fh, int n) } int is_stream(const char *filename) { - FILE *fh; + FILE *fh; char line[1024]; - char *rval = NULL; + char *rval = NULL; fh = fopen(filename, "r"); rval = fgets(line, 1023, fh); - fclose(fh); + fclose(fh); if ( rval == NULL ) { return -1; } |