Thyra: Fix #2061
Created by: mhoemmen
@trilinos/thyra Fix the nonconst overload of Thyra::get_Epetra_MultiVector, so that it no longer hangs in debug mode, when some (but not all) MPI processes have zero rows. #1941 (closed) related to the const overload of Thyra::get_Epetra_MultiVector; #2061 (closed) relates to the nonconst overload. This commit fixes #2061 (closed). It also improves the #1941 (closed) unit test to exercise both overloads; the test passes.
@trilinos/thyra @micahahoward
Motivation and Context
Fixes #2061 (closed).
Related Issues
- Closes #2061 (closed)
- Related to #1941 (closed)
How Has This Been Tested?
Clang 3.9, debug build.
Checklist
-
My commit messages mention the appropriate GitHub issue numbers. -
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. -
I have added tests to cover my changes. -
All new and existing tests passed. -
No new compiler warnings were introduced. -
These changes break backwards compatibility.