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

Evaluate Fun{<:PointSpace} using a Point #633

Merged
merged 3 commits into from
Feb 3, 2024

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Feb 3, 2024

Since a Point may be converted to a Number, we may allow evaluating a Fun{<:PointSpace} at a point as well, so that the following works now:

julia> f = Fun(PointSpace(1:3))
Fun(PointSpace([1, 2, 3]), [1, 2, 3])

julia> f(Point(1))
1

Copy link

codecov bot commented Feb 3, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (768625d) 75.07% compared to head (eb4f043) 75.18%.
Report is 3 commits behind head on master.

Files Patch % Lines
src/Spaces/DiracSpace.jl 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #633      +/-   ##
==========================================
+ Coverage   75.07%   75.18%   +0.10%     
==========================================
  Files          80       79       -1     
  Lines        8439     8439              
==========================================
+ Hits         6336     6345       +9     
+ Misses       2103     2094       -9     

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

@jishnub jishnub merged commit b2c626b into JuliaApproximation:master Feb 3, 2024
14 checks passed
@jishnub jishnub deleted the pointsindexing branch February 3, 2024 11:27
@jishnub jishnub mentioned this pull request Feb 5, 2024
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