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

[Bug] Invalid access on some complex operation #42

Closed
jjjkkkjjj opened this issue Feb 22, 2023 · 0 comments
Closed

[Bug] Invalid access on some complex operation #42

jjjkkkjjj opened this issue Feb 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jjjkkkjjj
Copy link
Owner

Reason
DSPComplex is the normal struct. Therefore, when I want to forward the this pointer (ptr: UnsafePointer<DSPComplex>), I must not use + operator.

let newptr = ptr + 2 // invalid!!
@jjjkkkjjj jjjkkkjjj added the bug Something isn't working label Feb 22, 2023
jjjkkkjjj added a commit that referenced this issue Feb 27, 2023
jjjkkkjjj added a commit that referenced this issue Jun 10, 2023
* fft

* implemented rfft backward forward (#39)

* rfft_forward

* passed real_forward

* irfft

* modified to_complex

* implemented irfft but memory leak occurred... (#39)

* passed rfft and irfft test (#39)

* fixed bug (#42)

* modified vDSP rFFT

* add fft

---------

Co-authored-by: jjjkkkjjj-mizuno <jkado@mizuno.co.jp>
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

1 participant