diff options
author | Thomas White <taw@physics.org> | 2015-04-02 15:00:59 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-04-20 12:53:58 +0200 |
commit | 3d281edaf2250f847bc8d287074ad506c92db2db (patch) | |
tree | cc13512676e47e9d1b8a58785fe428ee18a682d1 /src/cell_explorer.c | |
parent | 8d0df62255f44c912fb24fc648e78402dbff6155 (diff) |
cell_explorer: Ensure initialisation of active_indms[]
Diffstat (limited to 'src/cell_explorer.c')
-rw-r--r-- | src/cell_explorer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cell_explorer.c b/src/cell_explorer.c index 38203f70..923462bd 100644 --- a/src/cell_explorer.c +++ b/src/cell_explorer.c @@ -695,7 +695,8 @@ static void scan_minmax(CellWindow *w) fprintf(stderr, "Too many indexing methods\n"); } else { IndexingMethod m = w->indms[i]; - w->unique_indms[w->n_unique_indms++] = m; + w->unique_indms[w->n_unique_indms] = m; + w->active_indms[w->n_unique_indms++] = 1; } } |