Skip to content

Commit bb5c9fc

Browse files
author
NiekWielders
committed
check more decimals maximum axis ratio
1 parent 1df6d83 commit bb5c9fc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

autogalaxy/profiles/mass/abstract/mge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def decompose_convergence_via_mge(
254254

255255
def axis_ratio(self, xp=np):
256256
axis_ratio = self.mass_profile.axis_ratio(xp=xp)
257-
return xp.where(axis_ratio < 0.9999, axis_ratio, 0.9999)
257+
return xp.where(axis_ratio < 0.99999, axis_ratio, 0.99999)
258258

259259

260260
def zeta_from(self, grid: aa.type.Grid2DLike, sigma_log_list, xp=np):

autogalaxy/profiles/mass/dark/gnfw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def deflections_yx_2d_from(self, grid: aa.type.Grid2DLike, xp=np, **kwargs):
1414
def deflections_2d_via_mge_from(
1515
self, grid: aa.type.Grid2DLike, xp=np, **kwargs
1616
):
17-
radii_min = self.scale_radius / 20000.0
17+
radii_min = self.scale_radius / 2000.0
1818
radii_max = self.scale_radius * 30.0
1919
log_sigmas = xp.linspace(xp.log(radii_min), xp.log(radii_max), 20)
2020
sigmas = xp.exp(log_sigmas)

0 commit comments

Comments
 (0)