Skip to content

Commit e9530b1

Browse files
authored
Update README.md
1 parent 84d255b commit e9530b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ plot!(x, [target envelop], width = 2, label = ["target density" "envelop"])
139139

140140
Here are some tips:
141141

142-
- Make sure the logdensity is numerically stable in the domain and values above > 25;
142+
- Make sure the logdensity is numerically stable in the domain and avoid logdensity values > 25 (since
143+
the evaluation of the envelop requires exponentials);
143144
- Use log densities instead of densities using the keyword `logdensity=true`;
144145
- Specify a `min_slope` and `max_slope` to find better initial points. The default is 1e-6 and 1e6, respectively.
145146
The `min_slope` is the minimum slope of the logdensity in the initial points of the envelop in absolute value. In general,

0 commit comments

Comments
 (0)