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

rfftfreq not defined #11

Closed
dylanmikesell opened this issue Feb 24, 2020 · 7 comments
Closed

rfftfreq not defined #11

dylanmikesell opened this issue Feb 24, 2020 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@dylanmikesell
Copy link

I recently updated to Julia 1.3.1 after seeing that SeisIO issues have been fixed. I tried to run the SeisNoise example on the github front page of the repository. I am now getting the following error.

WARNING: both FFTW and DSP export "rfftfreq"; uses of it in module SeisNoise must be qualified

Looks like there is a problem in these two packages and we need to modify SeisNoise to choose which we are using: FFTW or DSP. Have you seen this error yet and is there a plan to fix it?

The problem occurs on line 29 of phase_shift.jl

freq = rfftfreq(length(C.x),C.fs)

@tclements
Copy link
Collaborator

I have not updated to Julia 1.3.x yet - I'll update and add a fix shortly

@tclements tclements added the bug Something isn't working label Feb 24, 2020
@tclements tclements self-assigned this Feb 24, 2020
@tclements
Copy link
Collaborator

This was fixed on the master branch but was not pushed to the Julia General registry. I updated the package number such that the master branch is now on the General registry. Once this pull request JuliaRegistries/General#10013 is merged, you should be able to do pkg> update SeisNoise to fix.

@tclements
Copy link
Collaborator

Just waiting for the Julia general to merge JuliaRegistries/General#10015

@dylanmikesell
Copy link
Author

dylanmikesell commented Feb 26, 2020 via email

@tclements
Copy link
Collaborator

You can also add the master version of SeisNoise, which is passing builds.

pkg> rm SeisNoise
pkg> add SeisNoise#master

@dylanmikesell
Copy link
Author

dylanmikesell commented Feb 26, 2020 via email

@tclements
Copy link
Collaborator

The PR to General finally merged. This should be fixed with pkg> update SeisNoise. Future version bumps should automerge now that I have the Julia compat system setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants