aboutsummaryrefslogtreecommitdiff
path: root/src/compare_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-30 14:22:14 +0200
committerThomas White <taw@physics.org>2010-03-30 14:22:14 +0200
commit8e0e3dc86acec616429fc2333fc8352fb6a8748e (patch)
treeb3c5556b9829c7b14dfa0ebdc0ce1e5911741975 /src/compare_hkl.c
parente2cc5dc49e210b6562529b6a33808a18baade466 (diff)
get_hkl: Blank out 000 beam
Diffstat (limited to 'src/compare_hkl.c')
-rw-r--r--src/compare_hkl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index 433459ed..bc224195 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -114,6 +114,9 @@ int main(int argc, char *argv[])
}
out = new_list_intensity();
+ set_count(c1, 0, 0, 0, 0);
+ set_count(c2, 0, 0, 0, 0);
+
for ( h=-INDMAX; h<INDMAX; h++ ) {
for ( k=-INDMAX; k<INDMAX; k++ ) {
for ( l=-INDMAX; l<INDMAX; l++ ) {