Skip to content

Commit af86727

Browse files
authored
Update README.md
1 parent 74f4eb4 commit af86727

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ julia> m = @model (x, s) begin
1919

2020
julia> x = zeros(3);
2121

22-
julia> rand(m(x,10))
23-
= 0.2647077728206953, x = [0.06944713402659985, 0.3047980085884222, 0.07621300638873846])
22+
julia> r = rand(m(x,10))
23+
= 9.096155145583953, x = [14.876934886768867, 6.612967845518229, 2.045770246490428])
2424

2525
julia> x
2626
3-element Vector{Float64}:
27-
0.06944713402659985
28-
0.3047980085884222
29-
0.07621300638873846
30-
```
27+
14.876934886768867
28+
6.612967845518229
29+
2.045770246490428
30+
31+
julia>= logdensityof(m(x, 1.0) | (;x), (σ = 1.0,))
32+
-122.91114458882001

0 commit comments

Comments
 (0)