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

Added missing get_constant_approach() getter to FESpaceWithConstantFixed #409

Merged
merged 4 commits into from
Sep 17, 2020

Conversation

amartinhuertas
Copy link
Member

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Sep 16, 2020

Codecov Report

Merging #409 into master will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #409      +/-   ##
==========================================
- Coverage   87.27%   87.26%   -0.02%     
==========================================
  Files         158      158              
  Lines       11092    11094       +2     
==========================================
  Hits         9681     9681              
- Misses       1411     1413       +2     
Impacted Files Coverage Δ
src/FESpaces/FESpacesWithConstantFixed.jl 76.00% <100.00%> (-2.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c1e0e6a...75509ba. Read the comment docs.

Copy link
Member

@fverdugo fverdugo left a comment

Choose a reason for hiding this comment

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

@amartinhuertas

get_constant_approach should return a type or an instance? Normaly, these functons return an instance so that you can do dispatch easily

@amartinhuertas
Copy link
Member Author

get_constant_approach should return a type or an instance? Normaly, these functons return an instance so that you can do dispatch easily

I guess this is a matter of convention, right?

Using instances you can dispatch as ::T instead of ::Type{T}, right?

Done!

@fverdugo
Copy link
Member

Using instances you can dispatch as ::T instead of ::Type{T}, right?

Yes, this is the only reason. The first option is kind of nicer.

@fverdugo fverdugo merged commit 1dfc662 into master Sep 17, 2020
@fverdugo fverdugo deleted the missing_getter_in_fe_space_with_constant_fixed branch September 17, 2020 05:29
@fverdugo
Copy link
Member

@amartinhuertas if you want to register a new version, could you please prepare the release in branch release-0.14 (you will need first pull from master git pull origin master from release-0.14) and open a PR ?

A couple of important things from https://github.com/gridap/Gridap.jl/wiki/How-to-register-a-julia-package

Make sure that the version number in the Project.toml is the one you want to register (usually version 0.1.0 for new packages).

Before releasing, make sure that the NEWS.md file contains the right date and version number and that Project.toml has the right version number.

@amartinhuertas
Copy link
Member Author

could you please prepare the release in branch release-0.14 (you will need first pull from master git pull origin master from release-0.14) and open a PR ?

Sure! I will do it now.

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