Skip to content

Various API fixes#380

Merged
Radonirinaunimi merged 9 commits intomasterfrom
various-fixes
Mar 18, 2026
Merged

Various API fixes#380
Radonirinaunimi merged 9 commits intomasterfrom
various-fixes

Conversation

@Radonirinaunimi
Copy link
Member

@Radonirinaunimi Radonirinaunimi commented Mar 12, 2026

This PR addresses the various minor issues raised by Alex Huss. In particular, it:

  • provides an actual implementation of pineappl_grid_metadata and pineappl_grid_set_metadata
  • fixes _channels_add in the Fortran API
  • addresses Panic! At the optimization (for pineappl > 1) #372 (increase the max iteration from 10 to 15 to account for floating-point jitter)

@Radonirinaunimi Radonirinaunimi requested a review from cschwan March 17, 2026 14:10
@cschwan
Copy link
Contributor

cschwan commented Mar 17, 2026

This looks good, but it would be nice to have regression test checking Alex's and Juan's cases the require the fix. Would you please add them if it's not too complicated?

@Radonirinaunimi
Copy link
Member Author

This looks good, but it would be nice to have regression test checking Alex's and Juan's cases the require the fix. Would you please add them if it's not too complicated?

Yes, that's right! I just added both a unit test and grid to check this. Thanks.

@Radonirinaunimi Radonirinaunimi merged commit a87ce7b into master Mar 18, 2026
10 checks passed
@Radonirinaunimi Radonirinaunimi deleted the various-fixes branch March 18, 2026 21:06
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