diff options
author | Thomas White <taw@physics.org> | 2010-09-24 17:13:20 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:59 +0100 |
commit | 53ff9bcb0f5da822658a9f3b4e2ae602c4ec2b35 (patch) | |
tree | 604ce9765510dedd88629214bd38094deb1ecad4 | |
parent | 1375c1a6a8dc0d29a5aeedcb01ff218f440b9dc5 (diff) |
Consistency
-rw-r--r-- | src/reflections.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflections.c b/src/reflections.c index 7e850320..d11a3aa0 100644 --- a/src/reflections.c +++ b/src/reflections.c @@ -55,7 +55,7 @@ void write_reflections(const char *filename, ReflItemList *items, double intensity, s, sigma; char ph[32]; - if ( counts ) { + if ( counts != NULL ) { N = lookup_count(counts, h, k, l); } else { N = 1; |