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

Fourier join fix #30

Merged
merged 6 commits into from
Feb 5, 2023
Merged

Fourier join fix #30

merged 6 commits into from
Feb 5, 2023

Conversation

RainerHeintzmann
Copy link
Member

I introduced a recursive type scheme. This seems to work now and the @report_opt seems to be happy, but there may be a cleaner or simpler way to achieve type stability.
Felix, can you do some speed test of the old and new scheme before merging?

@codecov-commenter
Copy link

codecov-commenter commented Nov 26, 2022

Codecov Report

Merging #30 (69a9b59) into main (000735e) will increase coverage by 0.07%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   93.26%   93.34%   +0.07%     
==========================================
  Files          17       17              
  Lines         936      947      +11     
==========================================
+ Hits          873      884      +11     
  Misses         63       63              
Impacted Files Coverage Δ
src/correlations.jl 90.00% <ø> (ø)
src/czt.jl 100.00% <ø> (ø)
src/fftshift_alternatives.jl 100.00% <ø> (ø)
src/fourier_filtering.jl 70.58% <ø> (ø)
src/nfft_nd.jl 90.00% <ø> (ø)
src/resampling.jl 91.59% <ø> (ø)
src/utils.jl 100.00% <ø> (ø)
src/custom_fourier_types.jl 100.00% <100.00%> (ø)
src/fourier_resizing.jl 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@roflmaostc
Copy link
Member

Thanks for that.

Did you check for type instabilities?
With JET?

@roflmaostc
Copy link
Member

See here: #29

src/custom_fourier_types.jl Outdated Show resolved Hide resolved
src/custom_fourier_types.jl Outdated Show resolved Hide resolved
src/fourier_resizing.jl Outdated Show resolved Hide resolved
src/fourier_resizing.jl Outdated Show resolved Hide resolved
src/fourier_resizing.jl Outdated Show resolved Hide resolved
src/fourier_resizing.jl Outdated Show resolved Hide resolved
test/custom_fourier_types.jl Show resolved Hide resolved
src/convolutions.jl Outdated Show resolved Hide resolved
@roflmaostc
Copy link
Member

Please revert all the tabbing changes (with a git revert).
https://github.com/invenia/BlueStyle#documentation

src/custom_fourier_types.jl Outdated Show resolved Hide resolved
# FFTs and other RFT dimension should use the version without L2
function FourierSplit(parent::AA, D::Int,L1::Int,L2::Int) where {T,N, AA<:AbstractArray{T, N}}
return new{T,N, AA}(parent, D, L1, L2)
This version below is needed to avoid a split for the first rft dimension,
Copy link
Member

Choose a reason for hiding this comment

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

Tab the doc string in the case, I guess.

Copy link
Member Author

Choose a reason for hiding this comment

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

should be fine now

src/resampling.jl Outdated Show resolved Hide resolved
src/utils.jl Outdated Show resolved Hide resolved
@roflmaostc roflmaostc merged commit 87352d2 into main Feb 5, 2023
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.

3 participants