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

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Fri, 23 Mar 2001 16:34:11 +0100 (MET)


>From one of my students' simulations:

m <- matrix(1, 0, 0)  # 1 to force numeric not logical
eigen(m)

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

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

--please do not edit the information below--

Version:
 platform = sparc-sun-solaris2.7
 arch = sparc
 os = solaris2.7
 system = sparc, solaris2.7
 status = 
 major = 1
 minor = 2.2
 year = 2001
 month = 02
 day = 26
 language = R

Search Path:
 .GlobalEnv, package:ctest, Autoloads, package:base

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