Conversation
|
Just to confirm whether I understand it correctly:
So in conclusion of all the above, my understanding is that this PR only affects If This might very well catapult the sensible |
|
Great catch @jdtournier ! |
|
OK, just to clarify things (although it might complicate matter further):
So it's a bit of a messy story... On a different note, I've double-checked that |
|
Thanks for taking the time to clarify; it's appreciated and useful.
Ok, good to see that clarified. Makes sense; so those are all fine and unaffected.
Hmm, ok, indeed messier than I anticipated; at least it's contained to Other than the |
Seems the SH precomputer was still wrong, even after #1206...
The fix we did then made it work for the
Math::SH::get_peak()call, but screwed up thePrecomputedAL::value()call... This is because the √2 factor had originally been absorbed in the precomputed Associated Legendre polynomials, which wasn't taken into account in theget_peak()call, but was taken into account by thevalue()call. This PR now ensures the precomputed Associated Legendre polynomials still don't have the additional √2, so that they are interchangeable with the non-precomputed ones, but fixes thevalue()call so that that factor is correctly taken into account there.On the funny side, it looks like there had actually been no problem with the tracking until we decided to 'fix' it with #1206... 🤦♂
I've added a small test command to check for regression to make sure we don't bork this yet again in future. In the meantime, this is likely to change the tracking behaviour yet again...