Skip to content

better runtime checking of inits #237

@beckermr

Description

@beckermr

We should probably use equinox to do better runtime checking of values. For example, if you seed a Poisson deviate with a negative mean, the RNG returns -1 with every call.

In [6]: pd()
Out[6]: Array(-1., dtype=float32)

In [7]: pd()
Out[7]: Array(-1., dtype=float32)

In [8]: pd()
Out[8]: Array(-1., dtype=float32)

In [9]: pd()
Out[9]: Array(-1., dtype=float32)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttestsRelated to unit-testing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions