Skip to content

Check size of arrays being assigned #911

Closed
@ViralBShah

Description

@ViralBShah

This seems like some sort of bug
indexing five elements on the left, six on the right

julia> A
5x5 Int64 Array:
 1   6  11  16  21
 2   7  12  17  22
 3   8  13  18  23
 4   9  14  19  24
 5  10  15  20  25

julia> A[1:5]=2:7
2:7

julia> A
5x5 Int64 Array:
 2   6  11  16  21
 3   7  12  17  22
 4   8  13  18  23
 5   9  14  19  24
 6  10  15  20  25

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions