Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Printing of Antisymmetric Tensors should be more general #241

Open
ajay-mk opened this issue Nov 7, 2024 · 0 comments · May be fixed by #242
Open

Printing of Antisymmetric Tensors should be more general #241

ajay-mk opened this issue Nov 7, 2024 · 0 comments · May be fixed by #242
Assignees

Comments

@ajay-mk
Copy link
Member

ajay-mk commented Nov 7, 2024

Core functions like this should not depend on labels or conventions.

std::wstring to_latex() const override {
std::wstring result;
std::vector<std::wstring> labels = {L"g", L"t", L"λ", L"", L"λ¹"};
bool add_bar =
ranges::find(labels, this->label()) != labels.end() && this->rank() > 1;

@ajay-mk ajay-mk self-assigned this Nov 7, 2024
@ajay-mk ajay-mk linked a pull request Nov 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant