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

Fix specgram test on NumPy 1.20. #19371

Merged
merged 1 commit into from Jan 27, 2021
Merged

Commits on Jan 27, 2021

  1. Fix specgram test on NumPy 1.20.

    In NumPy 1.20, the fft is slight different (more accurate?) and returns
    0 as the last entry, instead of some small number ~1e-30. This causes a
    divide-by-zero warning in `log10`. However, this test doesn't really
    care about the spectrogram, just the frequencies, so we can change the
    scale to linear to avoid the warning.
    QuLogic committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    7b9cdec View commit details
    Browse the repository at this point in the history