Skip to content

Commit 0568fda

Browse files
authored
Update test/core/ad.jl
1 parent c32fe71 commit 0568fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/core/ad.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ _to_cov(B) = B * B' + Matrix(I, size(B)...)
305305
@testset "Hessian test" begin
306306
@model function tst(x, ::Type{TV}=Vector{Float64}) where {TV}
307307
params = TV(undef, 2)
308-
params .~ Normal(0, 1)
308+
@. params ~ Normal(0, 1)
309309

310310
x ~ MvNormal(params, 1)
311311
end

0 commit comments

Comments
 (0)