-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support assignment from
TensorMap
wrapping a const
type to a `Ten…
…sor` storing non-`const` * Add test that copy-assigns to a `Tensor` from a `TensorMap` wrapping an array of `const`-qualified data. * Missing inline declaration for a `maskstore` overload causing "multiple definition of `Fastor::maskstore`" errors. * Use destination type (i.e. non-const) to construct `SIMDVector` in `eval` functions, otherwise we get "assignment of read-only location" errors. * Don't `const`-qualify destination tensor in `assign`, otherwise overload resolution of called `trivial_assign` fails.
- Loading branch information
Showing
4 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters