Skip to content

Commit

Permalink
Merge pull request #39 from JuliaManifolds/mbaran/vector-transport-tr…
Browse files Browse the repository at this point in the history
…ansparency

vector_transport_direction! should be :parent (it has a fallback)
  • Loading branch information
mateuszbaran authored Apr 28, 2020
2 parents 9563257 + e5c98ba commit 7a38c6e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ManifoldsBase"
uuid = "3362f125-f0bb-47a3-aa74-596ffd7ef2fb"
authors = ["Seth Axen <[email protected]>", "Mateusz Baran <[email protected]>", "Ronny Bergmann <[email protected]>", "Antoine Levitt <[email protected]>"]
version = "0.8.2"
version = "0.8.3"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
2 changes: 1 addition & 1 deletion src/EmbeddedManifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ function decorator_transparent_dispatch(
::AbstractEmbeddedManifold,
args...,
)
return Val(:intransparent)
return Val(:parent)
end
function decorator_transparent_dispatch(
::typeof(vector_transport_direction!),
Expand Down
3 changes: 2 additions & 1 deletion test/embedded_manifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,10 @@ struct NotImplementedEmbeddedManifold3 <: AbstractEmbeddedManifold{ℝ,DefaultEm
for f in [log!, norm, manifold_dimension, project!]
@test ManifoldsBase.decorator_transparent_dispatch(f,AM) === Val{:intransparent}()
end
for f in [vector_transport_along!, vector_transport_direction!, vector_transport_to!]
for f in [vector_transport_along!, vector_transport_to!]
@test ManifoldsBase.decorator_transparent_dispatch(f,AM) === Val{:intransparent}()
end
@test ManifoldsBase.decorator_transparent_dispatch(vector_transport_direction!, AM) === Val{:parent}()

for f in [inner, norm]
@test ManifoldsBase.decorator_transparent_dispatch(f,IM) === Val{:transparent}()
Expand Down

2 comments on commit 7a38c6e

@mateuszbaran
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/13799

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.8.3 -m "<description of version>" 7a38c6e0f984ba7123acaa50eff65293b71637e7
git push origin v0.8.3

Please sign in to comment.