Skip to content

Commit

Permalink
fixing error in xval function in gumbel.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ajshephard committed May 20, 2024
1 parent f852803 commit 76bcaad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/univariate/continuous/gumbel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ entropy(d::Gumbel) = log(d.θ) + 1 + MathConstants.γ
#### Evaluation

zval(d::Gumbel, x::Real) = (x - d.μ) / d.θ
xval(d::Gumbel, z::Real) = x * d.θ + d.μ
xval(d::Gumbel, z::Real) = z * d.θ + d.μ

function pdf(d::Gumbel, x::Real)
z = zval(d, x)
Expand Down

0 comments on commit 76bcaad

Please sign in to comment.