Skip to content
Snippets Groups Projects
Commit 32e40bd0 authored by Mark Woolrich's avatar Mark Woolrich
Browse files

fixed threshac1 output bug which causes crash if no autocorr estimation is used with sizeTS<3

parent c5e69cd8
No related branches found
No related tags found
No related merge requests found
......@@ -243,7 +243,7 @@ int main(int argc, char *argv[])
int cutoff = sizeTS/2;
if(globalopts.tukey)
cutoff = globalopts.tukeysize;
cutoff = MISCMATHS::Max(3,cutoff);
cutoff = MISCMATHS::Max(1,cutoff);
threshac = threshac.Rows(1,cutoff);
VolumeInfo volinfo = x.getInfo();
volinfo.v = cutoff;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment