Adds missing preconditoner destruction.
This commit is contained in:
@@ -142,6 +142,7 @@ namespace{
|
||||
VecDestroy( &b );
|
||||
MatDestroy( &A );
|
||||
KSPDestroy( &ksp );
|
||||
PCDestroy( &preconditioner );
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user