Closed felixhekhorn closed 6 months ago
I forgot a crucial piece of information: in my code the number of active flavours is an input variable and with $n_f=5$ pineappl works just fine (but it fails with $n_f=3,4$)
just in case you want to have a look: lumi creation is here and after that the code just uses the lumi index here to fill the grid here ... the thing is quite mysterious ..
This bug is fixed in commit 6ab90a8efb9486187ee41e4bee60107dff18e49b, but the real problem is that the grid you sent me is empty.
you're right, it was my fault: I missed a
kv.set_double("q2_min", this->m2 * 0.99);
kv.set_double("q2_max", this->m2 * 1.01);
kv.set_double("q2_bins", 1);
in the grid creation ... because when this->grid->fill
is called with a scale which is outside the preset boundaries it will just do nothing - maybe you want to raise at least a warning?
in any case nothing to do with optimize
in the grid creation ... because when this->grid->fill is called with a scale which is outside the preset boundaries it will just do nothing - maybe you want to raise at least a warning?
I'm not quite sure how to best do this, but, yes, we should do this. I remember that other Issues also stemmed from silently discarding events that are outside the interpolation region. I've opened a new Issue for this: https://github.com/NNPDF/pineappl/issues/254.
I don't think it is me using the CLI not correctly (though I'm not 100% sure), but a bug:
First, I tried with the version I already had (0.6.1) and I got this:
then I though maybe it was fixed upstream and updated (to 0.6.3), but the result is the same:
also orders are completely scraped
PS: funnily enough
convolute
does not panic, but yields instead