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

Fix penalties and add tests #1668

Merged
merged 4 commits into from
Jan 30, 2023
Merged

Fix penalties and add tests #1668

merged 4 commits into from
Jan 30, 2023

Conversation

scarlehoff
Copy link
Member

These have been broken since a while, but since nobody used them it didn't really matter.

Don't think they will be used but who knows, I added a few tests since (even if they are not used in practice) they ensure that several pieces of the code work well together as they require the correct flavours being set, n3fit model to be compatible with validphys, etc.

Copy link
Member

@RoyStegeman RoyStegeman left a comment

Choose a reason for hiding this comment

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

I don't think anyone is using this, though @Zaharid did contact me about it recently so he may want to be aware of this.

n3fit/src/n3fit/tests/test_penalties.py Outdated Show resolved Hide resolved
n3fit/src/n3fit/tests/test_penalties.py Outdated Show resolved Hide resolved
Co-authored-by: Roy Stegeman <roystegeman@live.nl>
@RoyStegeman
Copy link
Member

I think this is ready to be merged?

@scarlehoff scarlehoff merged commit dd993f8 into master Jan 30, 2023
@scarlehoff scarlehoff deleted the fix_to_penalties branch January 30, 2023 13:29
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