Skip to content

Commit

Permalink
Increase test cov.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Oct 24, 2024
1 parent 770377f commit 19239a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
8 changes: 0 additions & 8 deletions src/manifolds/InvertibleMatrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
Expand Down
3 changes: 2 additions & 1 deletion test/manifolds/invertible_matrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19239a2

Please sign in to comment.