Skip to content

Improve inference in normalized space derivative #526

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

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Aug 4, 2023

After this, the following is type-inferred:

julia> D = @inferred (S -> Derivative(S, 2))(NormalizedLegendre(0..1))
DerivativeWrapper : NormalizedLegendre(0 .. 1)  Jacobi(2,2,0 .. 1)
         26.8328                                                     
                 52.915                                              
                        90.0                                         
                             139.298                                 
                                     201.911                         
                                             278.855                 
                                                     371.08          
                                                            479.479  
                                                                    
                                                                    
                                                                    

@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Patch coverage: 63.76% and project coverage change: -44.47% ⚠️

Comparison is base (4f33475) 71.88% compared to head (19e2821) 27.41%.
Report is 15 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #526       +/-   ##
===========================================
- Coverage   71.88%   27.41%   -44.47%     
===========================================
  Files          81       80        -1     
  Lines        8546     8363      -183     
===========================================
- Hits         6143     2293     -3850     
- Misses       2403     6070     +3667     
Files Changed Coverage Δ
src/ApproxFunBase.jl 44.00% <ø> (-40.00%) ⬇️
src/Operators/SubOperator.jl 42.64% <0.00%> (-41.18%) ⬇️
src/Operators/banded/CalculusOperator.jl 17.21% <0.00%> (-58.60%) ⬇️
src/Operators/banded/Conversion.jl 22.95% <0.00%> (-63.49%) ⬇️
src/Spaces/ProductSpaceOperators.jl 0.00% <0.00%> (-65.37%) ⬇️
src/eigen.jl 0.00% <0.00%> (-96.43%) ⬇️
src/Fun.jl 36.17% <50.00%> (-31.62%) ⬇️
src/Operators/general/InterlaceOperator.jl 23.46% <66.66%> (-57.87%) ⬇️
src/LinearAlgebra/helper.jl 55.58% <100.00%> (-13.35%) ⬇️
src/Multivariate/TensorSpace.jl 39.83% <100.00%> (-45.34%) ⬇️
... and 3 more

... and 59 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jishnub jishnub merged commit 503a3f7 into JuliaApproximation:master Aug 4, 2023
@jishnub jishnub deleted the defaultderivinfer branch August 4, 2023 07:59
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.

1 participant