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

Priority of overloaded operators #8

Open
adtzlr opened this issue Dec 19, 2017 · 0 comments
Open

Priority of overloaded operators #8

adtzlr opened this issue Dec 19, 2017 · 0 comments

Comments

@adtzlr
Copy link
Owner

adtzlr commented Dec 19, 2017

According to the priority of operators in Fortran it is necessary to use brackets for Tensor operators. For example the power operator ** which is overridden by the double dot product .ddot.has the highest priority. This is wrong, especially for a double contraction where one tensor is a result of a crossed dyadic product: A**B.cdya.C - the crossdyadic product has to be evaluated first. So the correct way of defining the equation is: A**(B.cdya.C)

Improve this behaviour...

@adtzlr adtzlr added the bug label Dec 19, 2017
@adtzlr adtzlr added the wontfix label Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant