Skip to content

Commit

Permalink
Relax Fill return type in mvlognormal tests (#1890)
Browse files Browse the repository at this point in the history
* Relax Fill return type in mvlognormal tests

* Use AbstractFill instead of Union

Co-authored-by: David Widmann <[email protected]>

---------

Co-authored-by: David Widmann <[email protected]>
  • Loading branch information
jishnub and devmotion authored Aug 26, 2024
1 parent aad76a3 commit e1340f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/multivariate/mvlognormal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function test_mvlognormal(g::MvLogNormal, n_tsamples::Int=10^6,
@test partype(g) == Float64
@test isa(mn, Vector{Float64})
if g.normal.μ isa Zeros{Float64,1}
@test md isa Fill{Float64,1}
@test md isa FillArrays.AbstractFill{Float64,1}
else
@test md isa Vector{Float64}
end
Expand Down

0 comments on commit e1340f0

Please sign in to comment.