Skip to content

Commit

Permalink
Fix typo in _mintegrate_exp_impl exception
Browse files Browse the repository at this point in the history
  • Loading branch information
oschulz committed Sep 15, 2024
1 parent c3fb38f commit ea069b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/density.jl
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ end
function _mintegrate_exp_impl(log_f, μ, ::IsDensity)
throw(
ArgumentError(
"`mintegrate_exp(log_f, μ)` is not valid when `DensityKind(log_f) == IsDensity()`. Use `mintegral(log_f, μ)` instead.",
"`mintegrate_exp(log_f, μ)` is not valid when `DensityKind(log_f) == IsDensity()`. Use `mintegrate(log_f, μ)` instead.",
),
)
end
Expand Down

0 comments on commit ea069b6

Please sign in to comment.