zero-extent matrix crash
Thomas Lumley
thomas@biostat.washington.edu
Thu, 30 Jul 1998 17:13:30 -0700 (PDT)
On 31 Jul 1998, Peter Dalgaard BSA wrote:
> Anyone for a little debugging?
>
> > matrix(numeric(0),0,0)
> Floating point exception (core dumped)
>
Fixed. (there wasn't any checking for zero extents in matrix(); there is
now)
-thomas
Thomas Lumley
------------------------------------------------------+------
Biostatistics : "Never attribute to malice what :
Uni of Washington : can be adequately explained by :
Box 357232 : incompetence" - Hanlon's Razor :
Seattle WA 98195-7232 : :
------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._