Skip to content

Commit

Permalink
Fix test and bijector of MvLogNormal (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored and mohamed82008 committed Dec 30, 2019
1 parent 4221197 commit 8ecd3c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/transformed_distribution.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ bijector(d::UnivariateDistribution) = TruncatedBijector(minimum(d), maximum(d))
bijector(d::Normal) = Identity{0}()
bijector(d::MvNormal) = Identity{1}()
bijector(d::PositiveDistribution) = Log{0}()
bijector(d::MvLogNormal) = Log{0}()
bijector(d::MvLogNormal) = Log{1}()
bijector(d::SimplexDistribution) = SimplexBijector{true}()
bijector(d::KSOneSided) = Logit(zero(eltype(d)), one(eltype(d)))

Expand Down
1 change: 0 additions & 1 deletion test/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ end

for dist in vector_dists
@testset "$dist: dist" begin
dist = Dirichlet([eps(Float64), 1000 * one(Float64)])
td = transformed(dist)

# single sample
Expand Down

0 comments on commit 8ecd3c9

Please sign in to comment.