Skip to content

Commit

Permalink
Compatibility with RecursiveArrayTools v3
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszbaran committed Dec 27, 2023
1 parent e2bc5bb commit df01003
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.9.10] – 2023-12-27

### Added

* Compatibility with `RecursiveArrayTools` v3.

### Fixed

* Fixed mixed array index number in-place `parallel_transport_to!` on real `Circle`, on Julia 1.6.
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Plots = "1"
Quaternions = "0.5, 0.6, 0.7"
Random = "1.6"
RecipesBase = "1.1"
RecursiveArrayTools = "2"
RecursiveArrayTools = "2, 3"
Requires = "0.5, 1"
SimpleWeightedGraphs = "1.2"
SpecialFunctions = "0.8, 0.9, 0.10, 1.0, 2"
Expand Down
4 changes: 2 additions & 2 deletions test/manifolds/product_manifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -350,12 +350,12 @@ using RecursiveArrayTools: ArrayPartition
Z = -X
H1 = riemannian_Hessian(N, p, Y, Z, X)
H2 = ArrayPartition(
[riemannian_Hessian(M, p[i, :], Y[i, :], Z[i, :], X[i, :]) for i in 1:2]...,
[riemannian_Hessian(M, p.x[i], Y.x[i], Z.x[i], X.x[i]) for i in 1:2]...,
)
@test H1 == H2
V = ArrayPartition([0.2, 0.0, 0.0], [0.0, 0.0, 0.3])
W1 = Weingarten(N, p, X, V)
W2 = ArrayPartition([Weingarten(M, p[i, :], X[i, :], V[i, :]) for i in 1:2]...)
W2 = ArrayPartition([Weingarten(M, p.x[i], X.x[i], V.x[i]) for i in 1:2]...)
@test W1 == W2
end
@testset "Manifold volume" begin
Expand Down

0 comments on commit df01003

Please sign in to comment.