Skip to content
Snippets Groups Projects

fix ordering after interpolation

Merged Colm Talbot requested to merge fix-interpolation-ordering into master

There's a bug when using both time and distance marginalisation with a reduced time window for the prior as noticed in !296 (merged).

The interpolation in the distance lookup was sorting the output likelihoods. This MR fixes that by rearranging the output likelihoods to have the original indices. See https://stackoverflow.com/questions/44941271/scipy-interp2d-returned-function-sorts-input-argument-automatically-and-undesira for where the solution came from.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading