R-alpha: eigen
Ross Ihaka
ihaka@stat.auckland.ac.nz
Tue, 12 Aug 1997 09:14:42 +1200 (NZST)
Thomas Lumley writes:
>
> eigen is behaving very strangely in my copy of patch 3 (solaris 2.5.1).
> The calls to .Fortran are returning absolute rubbish and are also mutating
> things that shouldn't be mutated.
I think that this is my fault for making a "quick fix" without really
testing it. The problem (as pointed out by Martin) is in dotcode.c.
The function naoktrim should read
static SEXP naoktrim(SEXP s, int * len, int *naok, int *dup)
{
SEXP value;
if(s == R_NilValue) {
value = R_NilValue;
*naok = 0;
*dup = 1; /* <---- 1 not 0 */
*len = 0;
}
Sorry about that.
Ross
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-