Skip to content

runif64 can produce duplicates with replace=FALSE #337

Description

@MichaelChirico
set.seed(42)
runif64(10, 1, 10, replace = FALSE)
# integer64
#  [1] 7 5 4 2 9 6 7 3 8 5
#      ^ x         ^     x

Bug discovered by Gemini in the process of writing coverage tests for #336

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions