reset array size since we don't use the last element anymore

This commit is contained in:
Axel Kohlmeyer
2020-01-31 09:59:35 -05:00
parent 2069c7a5fd
commit 82aab36898

View File

@ -184,7 +184,7 @@ void RanMars::select_subset(bigint ntarget, int nmine, int *mark, int *next)
int active[2],first[2],last[2];
int newactive[2],newfirst[2],newlast[2];
bigint nmark,nflipall;
bigint activeall[2],bsum[4],bsumall[4];
bigint activeall[2],bsum[3],bsumall[3];
double thresh;
active[0] = nmine;