Skip to content

Commit

Permalink
hat/vee should correspond to real coefficient bases
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszbaran committed Feb 19, 2025
1 parent 18648ae commit 55c50a0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Lie_algebra/Lie_algebra_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ end

# function hat! end
@doc "$(_doc_hat)"
function hat!(𝔤::LieAlgebra{𝔽}, X, c) where {𝔽}
get_vector!(𝔤, X, c, DefaultLieAlgebraOrthogonalBasis(𝔽))
function hat!(𝔤::LieAlgebra, X, c)
get_vector!(𝔤, X, c, DefaultLieAlgebraOrthogonalBasis())
return X
end

Expand Down Expand Up @@ -380,14 +380,14 @@ the [`DefaultLieAlgebraOrthogonalBasis`](@ref).

# function vee end
@doc "$(_doc_vee)"
function vee(𝔤::LieAlgebra{𝔽}, X) where {𝔽}
return get_coordinates(𝔤, X, DefaultLieAlgebraOrthogonalBasis(𝔽))
function vee(𝔤::LieAlgebra, X)
return get_coordinates(𝔤, X, DefaultLieAlgebraOrthogonalBasis())
end

# function vee! end
@doc "$(_doc_vee)"
function vee!(𝔤::LieAlgebra{𝔽}, c, X) where {𝔽}
get_coordinates!(𝔤, c, X, DefaultLieAlgebraOrthogonalBasis(𝔽))
function vee!(𝔤::LieAlgebra, c, X)
get_coordinates!(𝔤, c, X, DefaultLieAlgebraOrthogonalBasis())
return c
end

Expand Down

2 comments on commit 55c50a0

@kellertuer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sorry, I had thought I changed that.

@mateuszbaran
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's OK, that wasn't much work.

Please sign in to comment.