From b60b57435e98c790721ccb2933d92106fbc4988f Mon Sep 17 00:00:00 2001 From: Oliver Schulz Date: Thu, 29 Jun 2023 10:06:57 +0200 Subject: [PATCH] Fix typo in _mintegrate_exp_impl exception --- src/density.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/density.jl b/src/density.jl index 0f4c8e03..57367ec5 100644 --- a/src/density.jl +++ b/src/density.jl @@ -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