Sacado: Fix dynamic-to-static view assignment for contiguous layout.
Created by: etphipp
@trilinos/sacado
Fixes issue #2020.
A test demonstrating the compile error was added to the test suite and now passes. Tested with Serial, OpenMP, and Cuda execution spaces.
Checklist
- [x ] My commit messages mention the appropriate GitHub issue numbers.
- [x ] My code follows the code style of the affected package(s).
-
My change requires a change to the documentation. -
I have updated the documentation accordingly. -
I have read the code contribution guidelines for this project. - [x ] I have added tests to cover my changes.
- [x ] All new and existing tests passed.
- [x ] No new compiler warnings were introduced.
-
These changes break backwards compatibility.