Tpetra: do not throw on empty matrix rows in getLocalDiagCopy

James Willenbring requested to merge issue1387 into develop

Created by: tawiesn

Tpetra throws in getLocalDiagCopy if the matrix has empty rows. This might be an useful feature for catching problems in, e.g., preconditioners, but this behavior is inconsistent with Epetra. In fact, the preconditioner packages should check for empty rows and throw rather than relying on a specific behavior of a general linear algebra routine (in the debug version)

This is related to issue #1387 (closed)

Merge request reports