Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Aug 8, 2024
1 parent e0a0c21 commit 40832a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions notebooks/double_source_plane.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,7 @@
"source": [
"mcmc_samples, log_prob = mcmc_sampler.mcmc_emcee(\n",
" n_walkers, n_burn, n_run, kwargs_mean_start, kwargs_sigma_start\n",
")\n",
"\n"
")"
]
},
{
Expand Down
7 changes: 4 additions & 3 deletions test/test_Likelihood/test_hierarchy_likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,13 @@ def test_lum_dist_likelihood(self):
magnitude_measured = magnification_model * amp_int
magnitude_measured_cov = np.diag((magnitude_measured / 10) ** 2)

kwargs_likelihood = {"amp_measured": magnitude_measured,
kwargs_likelihood = {
"amp_measured": magnitude_measured,
"cov_amp_measured": magnitude_measured_cov,
"magnification_model": magnification_model,
"cov_magnification_model": magnification_model_cov,
"magnitude_zero_point": magnitude_zero_point}

"magnitude_zero_point": magnitude_zero_point,
}

likelihood = LensLikelihood(
z_lens=z_lens,
Expand Down

0 comments on commit 40832a8

Please sign in to comment.