Skip to content

Commit

Permalink
Update pymc/logprob/order.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 authored Sep 4, 2023
1 parent 086f7fe commit 44614fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc/logprob/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def find_measurable_max_neg(fgraph: FunctionGraph, node: Node) -> Optional[List[


@_logprob.register(MeasurableMaxNeg)
def min_logprob(op, values, base_var, **kwargs):
def max_neg_logprob(op, values, base_var, **kwargs):
r"""Compute the log-likelihood graph for the `Max` operation.
The formula that we use here is :
\ln(f_{(n)}(x)) = \ln(n) + (n-1) \ln(1 - F(x)) + \ln(f(x))
Expand Down

0 comments on commit 44614fb

Please sign in to comment.