Skip to content

Commit

Permalink
Merge pull request #352 from vhaasteren/fix_stack_as_sequence_error
Browse files Browse the repository at this point in the history
Fixed the TypeError in test_vector_parameter_like
  • Loading branch information
vallis authored Oct 5, 2023
2 parents 5ef5ff4 + d5f93e2 commit 257cf2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_vector_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_vector_parameter_like(self):
pta = signal_base.PTA([s(self.psr)])

# parameters
xs = np.hstack(p.sample() for p in pta.params)
xs = np.hstack([p.sample() for p in pta.params])
params = {"B1855+09_red_noise_log10_rho": xs[1:], "B1855+09_efac": xs[0]}

# test log likelihood
Expand Down

0 comments on commit 257cf2f

Please sign in to comment.