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

Add FFT functions #50

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

prasunanand
Copy link
Contributor

Resolves #49

WIP

@hameerabbasi
Copy link
Collaborator

@peterbell10 Would it be possible for you to look into this segfault? Unless it's from Python or PyTest, it may be in uarray.

Comment on lines +304 to +305
(np.fft.fftfreq, (10), {}),
(np.fft.rfftfreq, (10), {}),
Copy link
Contributor

Choose a reason for hiding this comment

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

These are missing the commas that makes args a tuple.

Suggested change
(np.fft.fftfreq, (10), {}),
(np.fft.rfftfreq, (10), {}),
(np.fft.fftfreq, (10,), {}),
(np.fft.rfftfreq, (10,), {}),

I think that code coverage may be crashing because the ast is invalid?

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually, a bunch of the lists above are missing the comma as well.

Copy link
Collaborator

@hameerabbasi hameerabbasi Mar 10, 2020

Choose a reason for hiding this comment

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

Well, the AST is valid, just that *a isn't valid when a isn't a sequence or iterable, which is a runtime error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add multimethods for numpy.fft
3 participants