Skip to content

Split operator method and Cooley-Tukey in Rust don't compile. #944

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

Closed
4 tasks
PeanutbutterWarrior opened this issue Nov 28, 2021 · 2 comments
Closed
4 tasks
Labels
Problem This is a problem in the archive or an implementation.

Comments

@PeanutbutterWarrior
Copy link
Contributor

Bug Report

Description

Both split operator method and Cooley-Tukey don't compile in Rust. Only slight changes are needed as far as I can tell.

Steps to Reproduce

Neither file has a Cargo.toml file which is required for dependencies. After creating a Cargo.toml for each with num = "0.4.0", rustfft = "5.1.1", and rand = "0.8.4" and running cargo build they fail with the errors in the screenshots

Expected behavior

They should compile without errors.

Screenshots

Cooley-tukey errors:
image

Split-Operator method errors:
image

Environment

  • OS: Windows
  • OS Version: Windows 10 Home versiom 20H2 build 19042.1348
  • Cargo version: cargo 1.55.0 (32da73ab1 2021-08-23)

For Algorithm Archive Developers

  • The bug can be reproduced
  • The bug can be fixed (if not, please explain why not in a comment below)
  • There is a timeline to fix the bug
  • The bug has been fixed (Please link the PR)
@PeanutbutterWarrior PeanutbutterWarrior added the Problem This is a problem in the archive or an implementation. label Nov 28, 2021
@Amaras
Copy link
Member

Amaras commented Nov 28, 2021

What happens if you replace rustfft::FFTPlanner with rustfft:FftPlanner? It won't fix the Cooley-Tukey method, but that could help for the Split-op method

@PeanutbutterWarrior
Copy link
Contributor Author

Solved by #945 . A previous version of the library was needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Problem This is a problem in the archive or an implementation.
Projects
None yet
Development

No branches or pull requests

2 participants