Skip to content

ensure default lalpars for phenomHM

Sebastian Khan requested to merge sebastian-khan/lalsuite:fix-phm-laldict into master

In phenomD the the PN spin order gets set to 3.5PN which is not the default and we used to have a problem where the second time you call phenomD this line would get triggered https://git.ligo.org/lscsoft/lalsuite/blob/master/lalsimulation/src/LALSimInspiral.c#L1336

The fix we did was to make sure that we reset the default order at the end of calling phenomD here https://git.ligo.org/lscsoft/lalsuite/blob/master/lalsimulation/src/LALSimIMRPhenomD.c#L434

In phenomHM we have a different function to setup the calls to phenomD, namely https://git.ligo.org/lscsoft/lalsuite/blob/master/lalsimulation/src/LALSimIMRPhenomD.c#L906 which doesn't have the "reset to default spin order" line.

This patch adds this in.

Merge request reports