Skip to content

FieldLayouts == operator, global domain not checked and possible different returns on different ranks #393

@anekslen

Description

@anekslen

The == operator in the class FiedLayout for FieldLayout with the same dimension never compares the global domains of the two FieldLayouts.

The == operator is implemented in a way, that each rank only checks, if the local domains of it's own rank is equal in both FieldLaouyts.
The issue with this is, that some ranks could return true and some could return false, if the local domains match on some rank and not on others.

Since the usecase of the == operator is currently not fully clear, we should make sure to check wether the original domains of both FieldLayouts are the same and only compare local domains after this check.

The usecase should be checked and if necessary, each rank should compare all the local domains, to make sure that each rank returns the same result.

Sub-issues

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