Skip to content

Commit

Permalink
impl bijector for AbstractMvNormal instead of MvNormal (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Aug 19, 2020
1 parent 2552cdf commit 290c4ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/transformed_distribution.jl
Expand Up @@ -50,8 +50,7 @@ end
end

bijector(d::Normal) = Identity{0}()
bijector(d::MvNormal) = Identity{1}()
bijector(d::MvNormalCanon) = Identity{1}()
bijector(d::Distributions.AbstractMvNormal) = Identity{1}()
bijector(d::Distributions.AbstractMvLogNormal) = Log{1}()
bijector(d::PositiveDistribution) = Log{0}()
bijector(d::SimplexDistribution) = SimplexBijector{1}()
Expand Down

0 comments on commit 290c4ad

Please sign in to comment.