From thomas@biostat.washington.edu  Fri Jul 31 01:13:30 1998
From: thomas@biostat.washington.edu (Thomas Lumley)
Date: Thu, 30 Jul 1998 17:13:30 -0700 (PDT)
Subject: zero-extent matrix crash
In-Reply-To: <x290lbkkbf.fsf@biostat.ku.dk>
Message-ID: <Pine.SOL.3.95.980730171231.27092B-100000@gorn>

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


zero-extent matrix crash
Thomas Lumley