From maechler@stat.math.ethz.ch  Fri Mar 23 16:43:00 2001
From: maechler@stat.math.ethz.ch (maechler@stat.math.ethz.ch)
Date: Fri, 23 Mar 2001 17:43:00 +0100 (MET)
Subject: [Rd] eigen segfaults on 0-diml matrices (PR#882)
Message-ID: <200103231643.RAA07187@pubhealth.ku.dk>

>>>>> "BDR" == Brian D Ripley <ripley@stats.ox.ac.uk> writes:

    >> From one of my students' simulations:
    BDR> m <- matrix(1, 0, 0) # 1 to force numeric not logical eigen(m)

    BDR> and segfault in TRED2 in src/appl/eigen.f

    BDR> Easy to fix, but I wonder what else might have been overlooked?
    BDR> (svd is protected).

nothing else seems overlooked.
I've added the above matrix (as `m0') to the list of things that the
no-segfault test throughs at every function,
and there's no further segfault {after you have fixed eigen()}.

Martin

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] eigen segfaults on 0-diml matrices (PR#882)
maechler@stat.math.ethz.ch