diff options
author | Thomas White <taw@physics.org> | 2010-04-14 19:31:56 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-04-14 19:31:56 +0200 |
commit | d8750c73d11d08c13239091aca4ad325fcd16ba5 (patch) | |
tree | 5cb64a75ac48cefe9c821588c423f44aa2af199b /src/indexamajig.c | |
parent | 7ac0868f912364458f80665e78721bdebf9d8f87 (diff) |
indexamajig: Properly handle counts list for simulation reflection list
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index bb02d0f2..417fdc9a 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -387,7 +387,7 @@ int main(int argc, char *argv[]) UnitCell *cell; double *intensities = NULL; char *intfile = NULL; - unsigned int *counts = NULL; + unsigned int *counts; char *pdb = NULL; char *prefix = NULL; int nthreads = 1; @@ -485,6 +485,7 @@ int main(int argc, char *argv[]) } if ( intfile != NULL ) { + counts = new_list_count(); intensities = read_reflections(intfile, counts); } else { intensities = NULL; |