[Changeset] Re: binornd incorrect for n=0
Jaroslav Hajek
highegg at gmail.com
Tue Sep 9 04:16:42 CDT 2008
On Mon, Sep 8, 2008 at 4:50 PM, John W. Eaton <jwe at bevo.che.wisc.edu> wrote:
> On 8-Sep-2008, David Bateman wrote:
>
> | 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.
>
> I applied it.
>
I transplanted it to 3.0.x series.
--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
More information about the Bug-octave
mailing list