Skip to content

Commit

Permalink
hot fix for forward diff issue 706
Browse files Browse the repository at this point in the history
  • Loading branch information
bvdmitri committed Jul 25, 2024
1 parent d9408e4 commit 81539de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/natural_manifolds/categorical.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Get the natural manifold base for the `Categorical` distribution.
"""
function get_natural_manifold_base(::Type{Categorical}, ::Tuple{}, conditioner=nothing)
return ProductManifold(
Euclidean(conditioner-1), SinglePointManifold([0])
Euclidean(conditioner-1), SinglePointManifold([0.0])
)
end

Expand Down

0 comments on commit 81539de

Please sign in to comment.