convolute_eko: x2_grid was determined though not needed#167
Conversation
Codecov Report
@@ Coverage Diff @@
## master #167 +/- ##
==========================================
- Coverage 89.76% 89.36% -0.40%
==========================================
Files 45 47 +2
Lines 6919 7206 +287
==========================================
+ Hits 6211 6440 +229
- Misses 708 766 +58
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
You just need to compute the fks for the integrability grid. It does not crash during the eko calculation. |
this is not what I meant - the error (concerning PineAPPL and not pineko ) in the fk generation was a "reached 'unreachable' code" (or similar) which is circumvented with this PR (it was the instead we had a specific |
It was (I was changing the runcard trying to make it work so that grid in particular might have been fundamentally broken, it might be one of the first one I sent you but boh) |
|
Actually - also all the grids in NNPDF/pinecards#132 suffer from this bug because the xgrid does not contain the trivial x2 point at x2=1 |
|
Hi, is it possible to merge this PR? I need this fix to recompute some positivity fk tables at N3LO. |
|
I'm happy to merge it. @felixhekhorn is there something else needed here? |
|
we can merge, I think (if ever I find the other bug, I'll open a new PR) |
|
It seems that this bug is also affecting the NLO positivities. I will wait this to be merged to compute them :) |
|
To make life for @giacomomagni and @andreab1997 easier: can we also make a release? |
|
That will be really appreciated :). And thanks for solving the issue quickly |
|
Here you go: https://github.com/N3PDF/pineappl/releases/tag/v0.5.5. All the Python and Rust packages are also released, the conda package releases itself automatically as well, but it usually takes a bit longer. |
During the debug of NNPDF/pinecards#150 we realized there is a bug in PineAPPL
convolute_eko:x2_gridwas determined although it was never needed (because x2 is trivial)This fix adds a protection to the generation same as there is already for reading: https://github.com/N3PDF/pineappl/blob/04650d99dd52f7985ba4fb2a976980b2b91ce6e7/pineappl/src/grid.rs#L1632
the quickfix (applied in NNPDF/pinecards@3a5b7c9 ) is to point the trivial point to an existing point in the x1 grid - this is done also for DIS (and everything derived from that), specificly x2=1, which, by chance, is in the x1 grid; that's also the reason why it was not discovered before
there might be an other bug related: @scarlehoff @andreab1997 I couldn't trigger again the core dump - can you remind me, what do I need to do?