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

add get_dof_value_type to FESpacesWithLinearConstraints #1062

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

janmodderman
Copy link
Contributor

Hi,

I'm working with AgFEM and complex valued functions and I noticed that the get_dof_value_type seems to be missing from FESpacesWithLinearConstraints. Is there a specific reason this is not implemented?

I added a repro file in the test folder of my Gridap fork.

Kind regards,

Jan

@JordiManyer
Copy link
Member

Hi @janmodderman , thanks for the contribution!

I think the API was just missing. I think the way you resolved should work.

However, I suggest the following changes:

  • I would remove the test file you added. I don't think it is needed.
  • Could you instead simply add a couple lines testing this API in the corresponding test file? I.e test/FESpaces/FESpacesWithLinearConstaintsTests.jl?
  • Could you add these changes to NEWS.md?

Can you please do the following changes to the PR?
I'll be happy to accept it then.

@JordiManyer JordiManyer self-requested a review December 2, 2024 13:33
Copy link

codecov bot commented Dec 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.95%. Comparing base (b05bebc) to head (7a8e05d).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1062   +/-   ##
=======================================
  Coverage   88.95%   88.95%           
=======================================
  Files         196      196           
  Lines       23793    23794    +1     
=======================================
+ Hits        21164    21165    +1     
  Misses       2629     2629           

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

@janmodderman
Copy link
Contributor Author

Hi @JordiManyer,

thanks for the pointers, I made the changes you requested.

@JordiManyer
Copy link
Member

Thank you for the contribution!

@JordiManyer JordiManyer merged commit 2c5e688 into gridap:master Dec 2, 2024
11 checks passed
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.

2 participants