Skip to content

Commit 4ae4ae3

Browse files
authored
Add Weingarten to decorated functions. (#165)
1 parent 3592d2f commit 4ae4ae3

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

NEWS.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.14.11] 25/08/2023
9+
10+
### Added
11+
12+
- MAke the `Weingarten` map a decorator capable function.
13+
814
## [0.14.10] 17/08/2023
915

1016
### Added

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ManifoldsBase"
22
uuid = "3362f125-f0bb-47a3-aa74-596ffd7ef2fb"
33
authors = ["Seth Axen <[email protected]>", "Mateusz Baran <[email protected]>", "Ronny Bergmann <[email protected]>", "Antoine Levitt <[email protected]>"]
4-
version = "0.14.10"
4+
version = "0.14.11"
55

66
[deps]
77
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

src/decorator_trait.jl

+3
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,9 @@ function vector_transport_to!(
806806
return vector_transport_to!(get_embedding(M, p), Y, p, X, q, m)
807807
end
808808

809+
@trait_function Weingarten(M::AbstractDecoratorManifold, p, X, V)
810+
@trait_function Weingarten!(M::AbstractDecoratorManifold, Y, p, X, V)
811+
809812
@trait_function zero_vector(M::AbstractDecoratorManifold, p)
810813
function zero_vector(::TraitList{IsEmbeddedManifold}, M::AbstractDecoratorManifold, p)
811814
return zero_vector(get_embedding(M, p), p)

0 commit comments

Comments
 (0)