diff --git a/src/manifolds/InvertibleMatrices.jl b/src/manifolds/InvertibleMatrices.jl index 36e52595a..a121609ce 100644 --- a/src/manifolds/InvertibleMatrices.jl +++ b/src/manifolds/InvertibleMatrices.jl @@ -28,14 +28,6 @@ function active_traits(f, ::InvertibleMatrices, args...) return merge_traits(IsEmbeddedSubmanifold()) end -function allocation_promotion_function( - ::InvertibleMatrices{ℂ,<:Any}, - ::typeof(get_vector), - args::Tuple, -) - return complex -end - @doc raw""" check_point(M::InvertibleMatrices{n,𝔽}, p; kwargs...) diff --git a/test/manifolds/invertible_matrices.jl b/test/manifolds/invertible_matrices.jl index 88582d2ac..ebf5840ab 100644 --- a/test/manifolds/invertible_matrices.jl +++ b/test/manifolds/invertible_matrices.jl @@ -15,8 +15,9 @@ using LinearAlgebra, Manifolds, ManifoldsBase, Test @test_throws DomainError is_point(M, B; error=:error) @test_throws ManifoldDomainError is_point(M, Ac; error=:error) @test_throws ManifoldDomainError is_vector(M, A, Ac; error=:error) + @test is_vector(M, A, A) @test is_flat(M) - @test typeof(get_embedding(M)) === Euclidean{TypeParameter{Tuple{3,3}},ℝ} + @test typeof(get_embedding(M)) === Euclidean{ManifoldsBase.TypeParameter{Tuple{3,3}},ℝ} @test typeof(get_embedding(M2)) === Euclidean{Tuple{Int64,Int64},ℝ} @test embed(M, A) === A @test embed(M, A, A) === A