aboutsummaryrefslogtreecommitdiff
path: root/src/process_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-20 17:53:27 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:33 +0100
commitb143429764665a75dd3baf8c5115bf8553d18d71 (patch)
treeaee21b359e82c9c107e5f82de43c2d703c45538b /src/process_hkl.c
parent012073a3be1bb523588b83d8be0589a5d00676aa (diff)
Symmetry stuff
Diffstat (limited to 'src/process_hkl.c')
-rw-r--r--src/process_hkl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c
index 06c5a54b..d34ea60a 100644
--- a/src/process_hkl.c
+++ b/src/process_hkl.c
@@ -521,6 +521,7 @@ int main(int argc, char *argv[])
if ( sym_str == NULL ) sym_str = strdup("1");
sym = get_pointgroup(sym_str);
+ STATUS("%s -> %p\n", sym_str, sym);
free(sym_str);
/* Open the data stream */
@@ -553,7 +554,7 @@ int main(int argc, char *argv[])
ERROR("Invalid indices for '--histogram'\n");
return 1;
}
- space_for_hist = n_total_patterns * num_equivs(sym);
+ space_for_hist = n_total_patterns * num_equivs(sym, NULL);
hist_vals = malloc(space_for_hist * sizeof(double));
free(histo);
STATUS("Histogramming %i %i %i -> ", hist_h, hist_k, hist_l);