[Changeset] Re: binornd incorrect for n=0
David Bateman
David.Bateman at motorola.com
Mon Sep 8 03:21:55 CDT 2008
soren at hauberg.org wrote:
> Quoting David Bateman <David.Bateman at motorola.com>:
>> Could someone with the Matlab statistics toolbox check what
>> "binornd(0,0,1)" gives under matlab? I suspect this bug report is right
>> but would like to check what matlab returns before fully supporting its
>> inclusion..
>
> In Matlab 7.6.0.324 (R2008a):
>
>>> binornd(0,0,1)
>
> ans =
>
> 0
>
>
> Søren
>
>
Ok then here is the suggested change worked up as a changeset, with the
matrix n/p case also fixed and with couple of tests for this issue
added. Changeset attributed to Mark.
Regards
David
--
David Bateman David.Bateman at motorola.com
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8501
Url: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20080908/b936adfd/attachment.ksh
More information about the Bug-octave
mailing list