Skip to content

Commit

Permalink
Fix errors that changed in type.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Oct 17, 2023
1 parent 3910dcd commit e3fd23a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/manifolds/centered_matrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ include("../utils.jl")
@test_throws DomainError is_point(M, D; error=:error)
@test check_vector(M, A, A) === nothing
@test_throws DomainError is_vector(M, A, D; error=:error)
@test_throws ManifoldDomainError is_vector(M, D, A; error=:error)
@test_throws DomainError is_vector(M, D, A; error=:error)
@test_throws ManifoldDomainError is_vector(M, A, B; error=:error)
@test manifold_dimension(M) == 4
@test A == project!(M, A, A)
Expand Down
2 changes: 1 addition & 1 deletion test/manifolds/fixed_rank.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ include("../utils.jl")
UMVTVector(zeros(2, 1), zeros(1, 2), zeros(2, 2)),
)
@test !is_vector(M, SVDMPoint([1.0 0.0; 0.0 0.0], 2), X)
@test_throws ManifoldDomainError is_vector(
@test_throws DomainError is_vector(
M,
SVDMPoint([1.0 0.0; 0.0 0.0], 2),
X;
Expand Down
2 changes: 1 addition & 1 deletion test/manifolds/probability_simplex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ include("../utils.jl")
@test !is_flat(M)
@test is_vector(M, p, X)
@test is_vector(M, p, Y)
@test_throws ManifoldDomainError is_vector(M, p .+ 1, X; error=:error)
@test_throws DomainError is_vector(M, p .+ 1, X; error=:error)
@test_throws ManifoldDomainError is_vector(M, p, zeros(4); error=:error)
@test_throws DomainError is_vector(M, p, Y .+ 1; error=:error)

Expand Down

0 comments on commit e3fd23a

Please sign in to comment.