From ea069b6220ead7813ff69ad8483b459e155e11e1 Mon Sep 17 00:00:00 2001 From: Oliver Schulz Date: Sun, 15 Sep 2024 15:50: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