Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the alt nu-tamari lattices #37221

Merged
merged 11 commits into from
Feb 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
whitespaces empty lines
  • Loading branch information
Clément Chenevière committed Feb 2, 2024
commit 2a45b2efc133244aa9f7224e4ffc0230f79c8cca
2 changes: 1 addition & 1 deletion src/sage/combinat/nu_tamari_lattice.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
REFERENCES:

- [PRV2017]_

- [CC2023]_
"""
if not( (isinstance(nu, (list, tuple)) and all(x in [0, 1] for x in nu)) or
Expand All @@ -243,7 +243,7 @@
if delta is None:
delta = deltamax
elif len(delta) != len(deltamax) or any([delta[i] > deltamax[i] for i in range(len(delta))]):
raise ValueError("delta is not a valid increment vector")

Check warning on line 246 in src/sage/combinat/nu_tamari_lattice.py

View check run for this annotation

Codecov / codecov/patch

src/sage/combinat/nu_tamari_lattice.py#L246

Added line #L246 was not covered by tests

def covers(p):
return [delta_swap(p, k, delta=delta) for k in range(1, p.length())
Expand Down
Loading