From goran.brostrom at gmail.com  Fri Jul 14 19:08:31 2006
From: goran.brostrom at gmail.com (goran.brostrom at gmail.com)
Date: Fri, 14 Jul 2006 19:08:31 +0200 (CEST)
Subject: [Rd] dweibull retuns NaN instead of Inf (PR#9080)
Message-ID: <20060714170831.5A7BE56F6A@slim.kubism.ku.dk>

Full_Name: G?ran Brostr?m
Version: 2.3.1
OS: Linux, ubuntu
Submission from: (NULL) (85.11.40.53)


> dweibull(0, 0.5, 1)
[1] NaN
Warning message:
NaNs produced in: dweibull(x, shape, scale, log)

should give Inf (and no Warning). Compare with

> dgamma(0, 0.5, 1)
[1] Inf

This happens when 'shape' < 1.



[Rd] dweibull retuns NaN instead of Inf (PR#9080)
goran.brostrom at gmail.com