Skip to content

Commit 13115c4

Browse files
authored
Free allocated MatrixPrec (kokkos#2407)
Let's set a good example in our examples Signed-off-by: Carl Pearson <[email protected]>
1 parent 49188b9 commit 13115c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/gmres/test_prec.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ int main(int argc, char* argv[]) {
126126
if (endRes < convTol && numIters == 1) {
127127
pass = true;
128128
}
129+
delete myPrec;
129130
}
130131
Kokkos::finalize();
131132

0 commit comments

Comments
 (0)