Skip to content

Fix TensorMap compound assignment operators#155

Merged
romeric merged 1 commit intoromeric:masterfrom
feltech:bug/TensorMap_compound_assignment
Jan 1, 2022
Merged

Fix TensorMap compound assignment operators#155
romeric merged 1 commit intoromeric:masterfrom
feltech:bug/TensorMap_compound_assignment

Conversation

@feltech
Copy link
Copy Markdown
Contributor

@feltech feltech commented Dec 16, 2021

Compound assignment operators such as += are provided where the source
is a TensorMap and the destination is an AbstractTensor. However,
since the destination tensor was const-qualified, use of these operators
resulted in a compile error.

Compound assignment operators such as `+=` are provided where the source
is a `TensorMap` and the destination is an `AbstractTensor`. However,
since the destination tensor was const-qualified, use of these operators
resulted in a compile error.
feltech added a commit to feltech/FeltElements that referenced this pull request Dec 17, 2021
* Work around non-`constexpr` `dimension` method.
* Only remaining change to upstream Fastor master branch is a fix for
  `TensorMap` compound assignment operators, which has a PR up at
  romeric/Fastor#155.
@romeric
Copy link
Copy Markdown
Owner

romeric commented Jan 1, 2022

Apologies for late response and thanks for the PR

@romeric romeric merged commit a40de1e into romeric:master Jan 1, 2022
@feltech feltech deleted the bug/TensorMap_compound_assignment branch January 2, 2022 00:32
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