Skip to content

Commit

Permalink
Update boot2.m
Browse files Browse the repository at this point in the history
  • Loading branch information
acp29 committed Mar 14, 2022
1 parent d89a6e1 commit d70d962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/helper/boot2.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
% Prepare for block resampling (if applicable)
if ~isempty(blocksize)
x1 = cat_blocks(S.nvar,X1{:});
blocksize = fix(blocksize/2);
blocksize = max(fix(blocksize/2),1);
X1 = split_blocks(x1,opt.blocksize,blocksize);
nvar = S.nvar * blocksize;
g = ones(n,1);
Expand Down

0 comments on commit d70d962

Please sign in to comment.