Xpetra: CrsMatrix::isFillComplete() logic is wrong
Created by: lucbv
@trilinos/xpetra
Expectations
Xpetra::CrsMatrix
should behave as Tpetra::CrsMatrix
.
Current Behavior
When constructing an Xpetra::CrsMatrix
with a fill completed CrsGraph
, the matrix is automatically fill completed.
Motivation and Context
This discrepancy leads to unexpected behavior with the Xpetra::CrsMatrix
Definition of Done
Xpetra::CrsMatrix
and Tpetra::CrsMatrix
behave the same
Possible Solution
Change the logic in Xpetra
to avoid having the CrsMatrix
fill complete before it actually is.