Skip to content

Commit

Permalink
Update likelihood.py
Browse files Browse the repository at this point in the history
Walk back typing changes
  • Loading branch information
kazewong authored Jun 28, 2024
1 parent 841f7cd commit 8b49717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jimgw/single_event/likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def evaluate_original(

@staticmethod
def max_phase_diff(
f: npt.NDArray[float],
f: npt.NDArray[np.floating],
f_low: float,
f_high: float,
chi: Float = 1.0,
Expand Down Expand Up @@ -469,7 +469,7 @@ def max_phase_diff(
return 2 * np.pi * chi * np.sum((f / f_star) ** gamma * np.sign(gamma), axis=1)

def make_binning_scheme(
self, freqs: npt.NDArray[float], n_bins: int, chi: float = 1
self, freqs: npt.NDArray[np.floating], n_bins: int, chi: float = 1
) -> tuple[Float[Array, " n_bins+1"], Float[Array, " n_bins"]]:
"""
Make a binning scheme based on the maximum phase difference between the
Expand Down

0 comments on commit 8b49717

Please sign in to comment.