fixed: TestPETScMatrix.Assemble
for some reason newer PETSc requires an explicit call to zero out the matrix.
This commit is contained in:
parent
9606dea6db
commit
35c8464a2b
@ -30,6 +30,8 @@ TEST(TestPETScMatrix, Assemble)
|
||||
PETScMatrix* myMat = dynamic_cast<PETScMatrix*>(sim.getLHSmatrix());
|
||||
ASSERT_TRUE(myMat != nullptr);
|
||||
|
||||
myMat->init();
|
||||
|
||||
Matrix stencil(4,4);
|
||||
stencil.diag(1.0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user