Skip to content

Add range checks for weights given as Int #949

@YueRen

Description

@YueRen

In src/poly/orderings.jl, whenever we are working with weights given as Int, should we add checks that said said weights fit in Int16? I'm happy to work on the PR, but I just want to double-check that this is a sensible addition.

See oscar-system/Oscar.jl#5956 for a segfault caused by weights that do not fit in Int16.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions