ripley@stats.ox.ac.uk
2001-Mar-23 15:34 UTC
[Rd] eigen segfaults on 0-diml matrices (PR#882)
>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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
maechler@stat.math.ethz.ch
2001-Mar-23 16:43 UTC
[Rd] eigen segfaults on 0-diml matrices (PR#882)
>>>>> "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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._