Skip to content

repartition returns bare Tuple instead of Pair in one branch #542

Description

@lkdvos

Every branch of repartition returns dst => U (a Pair) except the _repartition_body(0) identity case, which returns src, U (a Tuple). All current callers destructure so nothing breaks today, but first(repartition(...)) silently means something different for that case.

src/fusiontrees/duality_manipulations.jl:486-490.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions