Skip to content

Commit

Permalink
BUG: linear interpolation for mass ratio (#101)
Browse files Browse the repository at this point in the history
* BUG: linear interpolation for mass ratio

* MAINT: bump cached interpolate pin
  • Loading branch information
ColmTalbot authored Jul 26, 2024
1 parent 5b46cba commit c822274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gwpopulation/models/mass.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ def _cache_q_norms(self, masses):
from .interped import _setup_interpolant

self._q_interpolant = _setup_interpolant(
self.m1s, masses, kind="cubic", backend=xp
self.m1s, masses, kind="linear", backend=xp
)

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ scipy
pandas
tqdm
bilby>=2.2.0
cached_interpolate
cached_interpolate>=0.3.0
wcosmo>=0.3.0

0 comments on commit c822274

Please sign in to comment.