We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16539ed commit 01f0873Copy full SHA for 01f0873
1 file changed
autolens/lens/tracer_util.py
@@ -152,7 +152,7 @@ def traced_grid_2d_list_from(
152
redshift_0=redshift_list[previous_plane_index],
153
redshift_1=galaxies[0].redshift,
154
redshift_final=redshift_list[-1],
155
- xp=xp
+ xp=xp,
156
)
157
158
scaled_deflections = (
@@ -345,7 +345,9 @@ def time_delays_from(
345
346
347
# 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
+ D_dt_m = (
349
+ (xp.asarray(1.0) + xp.asarray(z_l)) * (Dd_kpc * Ds_kpc / Dds_kpc) * kpc_in_m
350
+ )
351
352
# Fermat potential (should be in arcsec^2 for this formula)
353
fermat_potential = galaxies.fermat_potential_from(grid=grid, xp=xp)
0 commit comments