diff options
Diffstat (limited to 'spectro/average.c')
-rw-r--r-- | spectro/average.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spectro/average.c b/spectro/average.c index d031154..5e659b8 100644 --- a/spectro/average.c +++ b/spectro/average.c @@ -311,7 +311,7 @@ int main(int argc, char *argv[]) { /* If merging, append all the values */ if (domerge) { for (i = 0; i < inps[n].c->t[0].nsets; i++) { - inps[n].c->get_setarr(inps[0].c, 0, i, setel); + inps[n].c->get_setarr(inps[n].c, 0, i, setel); ocg->add_setarr(ocg, 0, setel); } |