Skip to content

Commit

Permalink
gh-35233: systematically avoid checking of input
Browse files Browse the repository at this point in the history
    
Trusting that the code is correct, there is no reason to check the
input.
### πŸ“š Description
Closes #35212,
#35212 (comment)

### πŸ“ Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [x] I have made sure that the title is self-explanatory and the
description concisely explains the PR.
- [x] I have linked an issue or discussion.

### βŒ› Dependencies
    
URL: #35233
Reported by: Martin Rubey
Reviewer(s): Travis Scrimshaw
  • Loading branch information
Release Manager committed Mar 31, 2023
2 parents c1a0323 + 7523441 commit f5815de
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 47 deletions.
2 changes: 1 addition & 1 deletion src/sage/combinat/dyck_word.py
Original file line number Diff line number Diff line change
Expand Up @@ -2194,7 +2194,7 @@ def to_noncrossing_permutation(self) -> Permutation:
pi[touches[i] - 1] = pi[touches[i + 1] - 1]
pi[touches[-1] - 1] = a
D, touch_sequence = pealing(D, return_touches=True)
return Permutations()(pi, check_input=False)
return Permutations()(pi, check=False)

@combinatorial_map(name='to 321 avoiding permutation')
def to_321_avoiding_permutation(self) -> Permutation:
Expand Down
Loading

0 comments on commit f5815de

Please sign in to comment.