Skip to content

Commit 01f0873

Browse files
Jammy2211Jammy2211
authored andcommitted
black
1 parent 16539ed commit 01f0873

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

autolens/lens/tracer_util.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def traced_grid_2d_list_from(
152152
redshift_0=redshift_list[previous_plane_index],
153153
redshift_1=galaxies[0].redshift,
154154
redshift_final=redshift_list[-1],
155-
xp=xp
155+
xp=xp,
156156
)
157157

158158
scaled_deflections = (
@@ -345,7 +345,9 @@ def time_delays_from(
345345
)
346346

347347
# Time-delay distance in meters: (1+z_l) * Dd * Ds / Dds
348-
D_dt_m = (xp.asarray(1.0) + xp.asarray(z_l)) * (Dd_kpc * Ds_kpc / Dds_kpc) * kpc_in_m
348+
D_dt_m = (
349+
(xp.asarray(1.0) + xp.asarray(z_l)) * (Dd_kpc * Ds_kpc / Dds_kpc) * kpc_in_m
350+
)
349351

350352
# Fermat potential (should be in arcsec^2 for this formula)
351353
fermat_potential = galaxies.fermat_potential_from(grid=grid, xp=xp)

0 commit comments

Comments
 (0)