diff options
-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; |