Skip to content

Bug in randbn(n,p) #193

Closed
Closed
@aurorarossi

Description

@aurorarossi

The function randbn(n,p) that returns a binomially-distributed random number with parameters $n$ and $p$. For every $n$, if $p=1$ it should return $n$ instead it loops.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions