Skip to content

Weight fill on integer storage #289

Open
@henryiii

Description

@henryiii

The weight= keyword argument for integer storages (Int64(), AtomicInt64()) currently accepts both integers and doubles, silently converting to integers; it should only accept integers, and provide an error if a floating type is used.

Unlimited does the correct thing and converts its internal storage to double, so that one is fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    project ideaCould be a fellow project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions