Skip to content

Commit

Permalink
Merge branch 'feature/composite' of https://github.com/ajshajib/hierArc
Browse files Browse the repository at this point in the history
… into feature/composite
  • Loading branch information
ajshajib committed Dec 7, 2023
2 parents 23d1c14 + 3aafd5f commit 1de5e4e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/test_Likelihood/test_parameter_scaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ def test_draw_anisotropy(self):
)
self.scaling._anisotropy_model = "const"
param_draw = self.scaling.draw_anisotropy(
a_ani=1, a_ani_sigma=0, beta_inf=beta_inf, beta_inf_sigma=0)
a_ani=1, a_ani_sigma=0, beta_inf=beta_inf, beta_inf_sigma=0
)
assert param_draw[0] == 1

param_draw = self.scaling_2d.draw_anisotropy(
Expand Down Expand Up @@ -257,7 +258,7 @@ def test_raise(self):
)
with self.assertRaises(ValueError):
scaling.draw_anisotropy(
a_ani=.5, a_ani_sigma=0, beta_inf=-1, beta_inf_sigma=0
a_ani=0.5, a_ani_sigma=0, beta_inf=-1, beta_inf_sigma=0
)

ani_param_array = np.linspace(start=0, stop=1, num=10)
Expand Down

0 comments on commit 1de5e4e

Please sign in to comment.