Skip to content

Commit e65f47b

Browse files
Update for Manifolds v0.11 (#72)
* Update for Manifolds v0.11 * update changelog * update readme * remove interlink * fix typo * Make sure tutorials run on most recent version. * fix apostrophe * Update NEWS.md --------- Co-authored-by: Ronny Bergmann <[email protected]>
1 parent 4a233ca commit e65f47b

21 files changed

+60
-40
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
julia-version: ["lts", "1", "pre"]
14+
julia-version: ["lts", "1"]
1515
os: [ubuntu-latest, macOS-latest]
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: julia-actions/setup-julia@v2
1919
with:
2020
version: ${{ matrix.julia-version }}
21-
arch: x64
2221
- uses: julia-actions/cache@v2
2322
- uses: julia-actions/julia-buildpkg@latest
2423
- uses: julia-actions/julia-runtest@latest

.github/workflows/nightly.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: nightly
2+
on:
3+
pull_request:
4+
5+
jobs:
6+
test:
7+
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
julia-version: ["pre"]
12+
os: [ubuntu-latest, macOS-latest, windows-latest]
13+
steps:
14+
- uses: actions/checkout@v5
15+
- uses: julia-actions/setup-julia@v2
16+
with:
17+
version: ${{ matrix.julia-version }}
18+
- uses: julia-actions/julia-buildpkg@latest
19+
- uses: julia-actions/julia-runtest@latest
20+
env:
21+
fail_ci_if_error: false

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable Changes to the Julia package `LieGroups.jl` will be documented in th
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.1.5] 2025-10-09
9+
10+
### Changed
11+
12+
* `LieGroups.jl` now requires `ManifoldsBase.jl` v2.0 and `Manifolds.jl` v0.11.
13+
814
## [0.1.4] 2025-10-02
915

1016
### Added

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LieGroups"
22
uuid = "6774de46-80ba-43f8-ba42-e41071ccfc5f"
33
authors = ["Seth Axen <[email protected]>", "Mateusz Baran <[email protected]>", "Ronny Bergmann <[email protected]>", "Yueh-Hua Tu", "Olivier Verdier <[email protected]>"]
4-
version = "0.1.4"
4+
version = "0.1.5"
55

66
[deps]
77
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -20,8 +20,8 @@ LieGroupsRecursiveArrayToolsExt = "RecursiveArrayTools"
2020
[compat]
2121
Aqua = "0.8"
2222
LinearAlgebra = "1.10"
23-
Manifolds = "0.10.16"
24-
ManifoldsBase = "1.2"
23+
Manifolds = "0.11"
24+
ManifoldsBase = "2"
2525
Quaternions = "0.7.6"
2626
Random = "1.10"
2727
RecursiveArrayTools = "2, 3"

Readme.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ using Pkg; Pkg.add("LieGroups")
2626
in the Julia REPL. For a first start, see the [get started tutorial](https://juliamanifolds.github.io/LieGroups.jl/stable/tutorials/getstarted/).
2727

2828
> [!NOTE]
29-
> Since this is a rework of the features from [`Manifolds.jl`](https://juliamanifolds.github.io/Manifolds.jl/stable/), both `LieGroups.jl` and `Manifolds.jl` 0.10 export a few types of same name, for example `Identity`.
30-
While `LieGroups.jl` depends on `Manifolds.jl`, it is not recommended to load both into the same name space, that is, doing `using Manifolds.jl, LieGroups.jl`, since then these conflicts might lead to unforeseen errors, where you would need to specify the name space to resolve this ambiguity.
31-
> See [transition from Manifolds.jl](https://juliamanifolds.github.io/LieGroups.jl/stable/tutorials/transition/) for a comprehensive list.
29+
> This is a rework of the features from [`Manifolds.jl`](https://juliamanifolds.github.io/Manifolds.jl/stable/).
30+
> See [transition from Manifolds.jl](https://juliamanifolds.github.io/LieGroups.jl/stable/tutorials/transition/) for a comprehensive list how to update your code.
3231
> This especially also includes a few different choices in default behaviour that
3332
is different from the [`Manifolds.jl`](https://juliamanifolds.github.io/Manifolds.jl/stable/) one. For purely manifold-based operations, any Lie group still is “build upon” a Riemannian manifold.

docs/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
1010
Documenter = "1"
1111
DocumenterCitations = "1.3"
1212
DocumenterInterLinks = "1"
13+
LieGroups = "0.1.5"
1314
LinearAlgebra = "1.11"
1415

1516
[sources]

docs/src/tutorials/transition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Transition from `GroupManifolds` in `Manifolds.jl`
22

3-
One predecessor of `LieGroups.jl` are the [`GroupManifold`](@extref `Manifolds.GroupManifold`)s in `Manifolds.jl`.
3+
One predecessor of `LieGroups.jl` are the `GroupManifold`s in `Manifolds.jl`.
44
While this package provides the same features, one reason for a new package is,
55
that a “restart” offers the opportunity to put the main focus for the functions in this package
66
really on Lie groups.

ext/LieGroupsRecursiveArrayToolsExt/special_galilean_group_RAT_ext.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using LieGroups: SpecialGalileanGroup
22
using StaticArrays
33
using LinearAlgebra
44

5-
# Internal function to compute the skew-symmetric matrix as an SMatrix used for perfomance.
5+
# Internal function to compute the skew-symmetric matrix as an SMatrix used for performance.
66
# Can be replaced with hat(SO(3), v) once that works without allocations.
77
function _skew(v::AbstractVector{T}) where {T <: Real}
88
return SMatrix{3, 3, T}(0, v[3], -v[2], -v[3], 0, v[1], v[2], -v[1], 0)

src/LieGroups.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ using ManifoldsBase:
4444
tangent_vector_type
4545
using StaticArrays
4646
#
47-
#
48-
# = Compatibility (and a bit of type piracy for now)
49-
# The following imports are necessary to use Manifolds.jl 0.10 with Lie groups
50-
# The line is removed when the Groups are removed from possibly 0.11
51-
import Manifolds: apply, apply!, compose, identity_element, is_identity
52-
# Both define the following structs, so these for now lead to asking for explicit prefixes
53-
# Manifolds: Identity, TranslationGroup
54-
#
5547
include("documentation_glossary.jl")
5648
include("utils.jl")
5749
include("interface.jl")

src/groups/circle_group_sphere.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
#
22
#circle group represented as vectors in ℝ^2, operation: adding angles in the unit circle
33
#
4-
function CircleGroup(M::Sphere{ManifoldsBase.TypeParameter{Tuple{1}}, ℝ})
4+
function CircleGroup(M::Sphere{ℝ, ManifoldsBase.TypeParameter{Tuple{1}}})
55
return LieGroup{ℝ, AbelianMultiplicationGroupOperation, typeof(M)}(
66
M, AbelianMultiplicationGroupOperation()
77
)
88
end
99

10-
function CircleGroup(::Euclidean{ManifoldsBase.TypeParameter{Tuple{2}}, ℝ})
10+
function CircleGroup(::Euclidean{ℝ, ManifoldsBase.TypeParameter{Tuple{2}}})
1111
return CircleGroup(Sphere(1))
1212
end
1313

1414
const _PlanarCircleGroup = LieGroup{
15-
ℝ, AbelianMultiplicationGroupOperation, <:Sphere{ManifoldsBase.TypeParameter{Tuple{1}}, ℝ},
15+
ℝ, AbelianMultiplicationGroupOperation, <:Sphere{ℝ, ManifoldsBase.TypeParameter{Tuple{1}}},
1616
}
1717

1818
#=

0 commit comments

Comments
 (0)