Skip to content

choices issue? #3

Description

@MXS2514

py3.6 win using latest cyrandom

import random

import cyrandom

random.choices([1,2,3,4,5], k = 2)
[4, 5]

cyrandom.choices([1,2,3,4,5], k = 2)
Traceback (most recent call last):
File "", line 1, in
File "cyrandom\cyrandom.pyx", line 104, in cyrandom.cyrandom.choices (cyrandom/cyrandom.c:2109)
IndexError: list assignment index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions