[Rd] eigen segfaults on 0-diml matrices (PR#882)

maechler@stat.math.ethz.ch maechler@stat.math.ethz.ch
Fri, 23 Mar 2001 17:43:00 +0100 (MET)

>>>>> "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()}.


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