Skip to content

Add manual PartialEq for Interp - #367

Merged
cschwan merged 5 commits into
masterfrom
fix-interp-comp
Dec 6, 2025
Merged

Add manual PartialEq for Interp#367
cschwan merged 5 commits into
masterfrom
fix-interp-comp

Conversation

@Radonirinaunimi

Copy link
Copy Markdown
Member

Addresses #366.

@felixhekhorn felixhekhorn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

With this fix the evolution does no longer crash with Error: interpolations do not match (I'm not sure which PDF the EKO corresponds to so I'm happy with a Error: grids are different)

@felixhekhorn felixhekhorn linked an issue Nov 26, 2025 that may be closed by this pull request
@cschwan

cschwan commented Nov 26, 2025

Copy link
Copy Markdown
Contributor

@Radonirinaunimi: can you please write a regression test where one of the fields is a NaN?

@Radonirinaunimi

Copy link
Copy Markdown
Member Author

@Radonirinaunimi: can you please write a regression test where one of the fields is a NaN?

Good point! I just added a simple unit test.

@Radonirinaunimi

Copy link
Copy Markdown
Member Author

@cschwan Are you happy with this?

Comment thread pineappl/src/interpolation.rs
Comment thread pineappl/src/interpolation.rs
@Radonirinaunimi

Copy link
Copy Markdown
Member Author

I was thinking of updating the CHANGELOGS in master but I guess it could also be done here (ce3902f).

@cschwan

cschwan commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

I was thinking of updating the CHANGELOGS in master but I guess it could also be done here (ce3902f).

That was the right idea, I simply didn't express myself properly. In any case, thank you! 👍

@cschwan
cschwan merged commit ed46cd9 into master Dec 6, 2025
10 checks passed
@cschwan
cschwan deleted the fix-interp-comp branch December 6, 2025 12:35
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.

Evolution results in "interpolations do not match"

3 participants