Skip to content

Improve type-inference in TimesOperator * Fun #481

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 2 commits into from
Jun 14, 2023

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Jun 13, 2023

After this,

julia> S = NormalizedUltraspherical(NormalizedLegendre())
NormalizedUltraspherical(1/2)

julia> r = Fun(S)
Fun(NormalizedUltraspherical(1/2), [0.0, 0.816497])

julia> @inferred (r -> r^2)(r)
Fun(NormalizedUltraspherical(1/2), [0.471405, 0.0, 0.421637])

@jishnub jishnub changed the title improve type-inference in TimesOpertor * Fun Improve type-inference in TimesOperator * Fun Jun 13, 2023
@codecov
Copy link

codecov bot commented Jun 14, 2023

Codecov Report

Patch coverage: 89.83% and project coverage change: -0.75 ⚠️

Comparison is base (2f401fa) 71.22% compared to head (9262f13) 70.48%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #481      +/-   ##
==========================================
- Coverage   71.22%   70.48%   -0.75%     
==========================================
  Files          80       81       +1     
  Lines        8331     8470     +139     
==========================================
+ Hits         5934     5970      +36     
- Misses       2397     2500     +103     
Impacted Files Coverage Δ
src/ApproxFunBase.jl 84.00% <ø> (+0.66%) ⬆️
src/LinearAlgebra/blas.jl 77.77% <ø> (ø)
src/Spaces/Spaces.jl 63.52% <ø> (-3.53%) ⬇️
src/Operators/qr.jl 57.89% <22.22%> (-2.82%) ⬇️
src/Spaces/SumSpace.jl 70.44% <33.33%> (+0.77%) ⬆️
src/Operators/SubOperator.jl 82.35% <50.00%> (-0.82%) ⬇️
src/Operators/banded/CalculusOperator.jl 75.40% <80.64%> (+0.84%) ⬆️
src/Operators/functionals/CalculusFunctional.jl 79.48% <86.66%> (+7.07%) ⬆️
src/eigen.jl 96.42% <96.42%> (ø)
src/show.jl 95.68% <97.56%> (+12.85%) ⬆️
... and 6 more

... and 44 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jishnub jishnub merged commit b3de256 into JuliaApproximation:master Jun 14, 2023
@jishnub jishnub deleted the mulcoefftimes branch June 14, 2023 06:26
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