Skip to content

Commit

Permalink
Update likelihood.py
Browse files Browse the repository at this point in the history
Regarding this changes. The new styling changes pushed recently should give more explicit hints to address the ambiguity in shape of array. Reverting this in favor of the new changes
  • Loading branch information
kazewong authored Dec 6, 2023
1 parent f006ca6 commit 17d4044
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/jimgw/likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,6 @@ def __init__(

print("Finding reference parameters..")

# Check if shape of bounds is correct, otherwise, transpose bounds
if jnp.shape(bounds)[0] != 2:
bounds = bounds.T

self.ref_params = self.maximize_likelihood(
bounds=bounds, prior=prior, popsize=popsize, n_loops=n_loops
)
Expand Down

0 comments on commit 17d4044

Please sign in to comment.