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

Refactor signal arraytools #8073

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

asi1024
Copy link
Member

@asi1024 asi1024 commented Jan 1, 2024

@kmaehashi kmaehashi self-assigned this Jan 5, 2024
@kmaehashi kmaehashi added prio:medium cat:code-fix Code refactoring that do not change behavior labels Jan 5, 2024
Comment on lines -120 to -125
if n < 1:
return x
if n > x.shape[axis] - 1:
raise ValueError(("The extension length n (%d) is too big. " +
"It must not exceed x.shape[axis]-1, which is %d.")
% (n, x.shape[axis] - 1))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it ok to remove this fast path and error handling?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:code-fix Code refactoring that do not change behavior prio:medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants