Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Mar 13, 2023
1 parent 03f006f commit 52ed676
Show file tree
Hide file tree
Showing 3 changed files with 3,298 additions and 2,798 deletions.
2 changes: 1 addition & 1 deletion camb/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ def __call__(self, *args):
# NB returns dimensionality as the 2D one: 1 dimension if z single
return (lambda x: x[0] if np.isscalar(args[0]) else x)(super().__call__(*(args[1:])))

def P(self, z, kh, grid=None):
def P(self, z, kh, **_kwargs):
# grid kwarg is ignored
if self.islog:
return self.logsign * np.exp(self(z, np.log(kh)))
Expand Down
Loading

0 comments on commit 52ed676

Please sign in to comment.