Skip to content

slicing within the same element yields incorrect results #3

@JorySchossau

Description

@JorySchossau

These fail for small slices:
import bitarray
var ba = create_bitarray(64)
ba[0] = true
ba[1] = true
ba[2] = true
ba[7] = true
assert ba[0..4] == 7
assert ba[2..4] == 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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