Skip to content

Commit

Permalink
fix return in Density2D.Prob
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Jan 18, 2024
1 parent b446207 commit d2dbc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getdist/densities.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def Prob(self, x, y, grid=False):
:param y: y value or array
:param grid: whether to make a grid, see :class:`~scipy:scipy.interpolate.RectBivariateSpline`. Default False.
"""
self.__call__(x, y, grid=grid)
return self.__call__(x, y, grid=grid)

def __call__(self, *args, **kwargs):
if self.spl is None:
Expand Down

0 comments on commit d2dbc97

Please sign in to comment.