Skip to content

Array length mismatch in shear module #280

@JiHuGUO

Description

@JiHuGUO

I installed the latest version from the main branch, but I seem to have encountered a bug. In the compute_shear method, within the if block starting at line around 593, the variables k, kx, ky, and hs are filtered using the valid flags, but l and ul are not. Since they are later used together in the computation, this may lead to a size mismatch. I'm not sure whether I misunderstood something or if this is an actual issue.

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