Skip to content

Commit 1d7f9fe

Browse files
author
NiekWielders
committed
xp added to not implemented functions for passing
1 parent bc8d116 commit 1d7f9fe

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

autogalaxy/profiles/mass/abstract/abstract.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(
2424
"""
2525
super().__init__(centre=centre, ell_comps=ell_comps)
2626

27-
def deflections_yx_2d_from(self, grid):
27+
def deflections_yx_2d_from(self, grid, xp=np):
2828
raise NotImplementedError
2929

3030
def deflections_2d_via_potential_2d_from(self, grid):
@@ -45,13 +45,13 @@ def deflections_2d_via_potential_2d_from(self, grid):
4545
def convergence_2d_from(self, grid, xp=np):
4646
raise NotImplementedError
4747

48-
def convergence_func(self, grid_radius: float) -> float:
48+
def convergence_func(self, grid_radius: float , xp=np) -> float:
4949
raise NotImplementedError
5050

51-
def potential_2d_from(self, grid):
51+
def potential_2d_from(self, grid, xp=np):
5252
raise NotImplementedError
5353

54-
def potential_func(self, u, y, x):
54+
def potential_func(self, u, y, x, xp=np):
5555
raise NotImplementedError
5656

5757
def mass_integral(self, x, xp=np):

0 commit comments

Comments
 (0)