[Rd] unstability when using isoreg() function (PR#6494)
Duncan Murdoch
dmurdoch at pair.com
Fri Jan 30 14:49:07 MET 2004
On Thu, 29 Jan 2004 12:16:01 +0100 (CET), ripley at stats.ox.ac.uk wrote
:
>iKnots was allocated one element too short. This only overruns if the
>sequence is monotone, as happens here for set.seed(2), N=3. Fixed in
>R-devel.
>
>The line 39 in isoreg.c needs to be
>
> SET_VECTOR_ELT(ans, 3, iKnots= allocVector(INTSXP, n));
I've copied the fix over to r-patched as well.
Duncan Murdoch
More information about the R-devel
mailing list