Skip to content

PatchMerging is not correct for 3D. #8284

Closed
@pooya-mohammadi

Description

@pooya-mohammadi

x0 = x[:, 0::2, 0::2, 0::2, :]

t = [
    (0, 0, 0),
    (1, 0, 0),
    (0, 1, 0),
    (0, 0, 1),
    (1, 0, 1),
    (0, 1, 0),
    (0, 0, 1),
    (1, 1, 1),
    ]
print(set(t))
# {(1, 0, 1), (0, 1, 0), (0, 0, 0), (1, 0, 0), (0, 0, 1), (1, 1, 1)}

As you can see two of these are the same. To be exact, (x3, x6) and (x2, x5) are the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions