Skip to content

Commit 895b929

Browse files
Jammy2211Copilot
andauthored
Update autolens/lens/tracer_util.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2e7a281 commit 895b929

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autolens/lens/tracer_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def time_delays_from(
346346

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

352352
# Fermat potential (should be in arcsec^2 for this formula)

0 commit comments

Comments
 (0)