Skip to content

Commit

Permalink
maybe fix the new test by slightly overtyping the basis.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Sep 18, 2021
1 parent 49dc500 commit ed2871c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/metric.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function Manifolds.get_coordinates!(
c,
::Any,
X,
::DefaultOrthogonalBasis,
::DefaultOrthogonalBasis{ℝ,<:ManifoldsBase.TangentSpaceType},
)
c .= 1 ./ [1.0:manifold_dimension(M)...] .* X
return c
Expand All @@ -46,7 +46,7 @@ function Manifolds.get_vector!(
X,
::Any,
c,
::DefaultOrthogonalBasis,
::DefaultOrthogonalBasis{ℝ,<:ManifoldsBase.TangentSpaceType},
)
X .= [1.0:manifold_dimension(M)...] .* c
return X
Expand Down

0 comments on commit ed2871c

Please sign in to comment.