Skip to content

do not include parent in hash of parking functions #34824

@mantepse

Description

@mantepse

We do not want the following:

sage: P = ParkingFunctions(3)
sage: f = P([1,1,1])
sage: g = ParkingFunction([1,1,1])
sage: f in P
True
sage: g in P
True
sage: f in list(P)
True
sage: g in list(P)
True
sage: f in set(P)
True
sage: g in set(P)
False

CC: @nthiery

Component: combinatorics

Author: Martin Rubey

Branch/Commit: 49ff03d

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/34824

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions