diff --git a/inst/octave/bootcoeff.m b/inst/octave/bootcoeff.m index c8a7f0f5..5242fca7 100644 --- a/inst/octave/bootcoeff.m +++ b/inst/octave/bootcoeff.m @@ -113,7 +113,7 @@ error ('bootcoeff: only supported by Octave') end statspackage = ismember ({info.Name}, 'statistics'); - if (~ any (statspackage)) || (str2num(info(statspackage).Version(1:3)) < 1.5) + if (~ any (statspackage)) || (str2num (info (statspackage).Version(1:3)) < 1.5) error ('bootcoeff: requires version >= 1.5 of the statistics package') end diff --git a/inst/octave/bootemm.m b/inst/octave/bootemm.m index 96b4e39f..0ea57a8d 100644 --- a/inst/octave/bootemm.m +++ b/inst/octave/bootemm.m @@ -115,7 +115,7 @@ error ('bootemm: only supported by Octave') end statspackage = ismember ({info.Name}, 'statistics'); - if (~ any (statspackage)) || (str2num(info(statspackage).Version(1:3)) < 1.5) + if (~ any (statspackage)) || (str2num (info (statspackage).Version(1:3)) < 1.5) error ('bootemm: requires version >= 1.5 of the statistics package') end if (ismember (dim, find (STATS.continuous)))