From 32bc41a338f683de402fc51753a5b7e238de2a5a Mon Sep 17 00:00:00 2001 From: acp29 Date: Sun, 8 Jan 2023 09:47:33 +0000 Subject: [PATCH] bug fix - fixes bug introduced in v5.1.1 when printing output when bootfun is `mean` --- DESCRIPTION | 4 ++-- inst/bootknife.m | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 4362cc29..32727cc0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ name: statistics-bootstrap -version: 5.1.1 -date: 2023-01-07 +version: 5.1.2 +date: 2023-01-08 author: Andrew Penn maintainer: Andrew Penn title: A statistics package with a variety of bootstrap resampling tools diff --git a/inst/bootknife.m b/inst/bootknife.m index 12c26945..7a90f40e 100644 --- a/inst/bootknife.m +++ b/inst/bootknife.m @@ -255,6 +255,7 @@ end if ((nargin < 3) || isempty (bootfun)) bootfun = @mean; + bootfun_str = 'mean'; else if (iscell (bootfun)) if (ischar (bootfun{1}))