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

CartesianTrace with rank > 2 #292

Merged
merged 1 commit into from
Jun 5, 2024
Merged

CartesianTrace with rank > 2 #292

merged 1 commit into from
Jun 5, 2024

Conversation

lecoanet
Copy link
Member

@lecoanet lecoanet commented Jun 4, 2024

The matrix form of the CartesianTrace operator assumed the tensor had rank 2. I've modified it to work for rank >=2. I've also added tests for the rank=3 case.

…3 tests to test_cartesian_operators.py which pass with the changes to operators.py, but did not pass before.
@lecoanet lecoanet requested a review from kburns June 4, 2024 22:00
@kburns kburns merged commit 961ed0b into master Jun 5, 2024
@kburns kburns deleted the trace branch June 5, 2024 22:19
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 this pull request may close these issues.

2 participants