Skip to content

Commit

Permalink
docs: Fixup Model.grad_log_prob docstring
Browse files Browse the repository at this point in the history
Docstring of `grad_log_prob` referenced an argument
`adjust_transform` that does not exist. Also fixed
a typo "evalauted" -> "evaluated".
  • Loading branch information
amas0 authored and riddell-stan committed May 17, 2021
1 parent c2d465a commit 899658e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stan/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,10 +402,9 @@ def grad_log_prob(self, unconstrained_parameters: Sequence[float]) -> float:
Arguments:
unconstrained_parameters: A sequence of unconstrained parameters.
adjust_transform: Apply jacobian adjust transform.
Returns:
The gradient of the log posterior evalauted at the
The gradient of the log posterior evaluated at the
unconstrained parameters.
Notes:
Expand Down

0 comments on commit 899658e

Please sign in to comment.