Skip to content
Snippets Groups Projects
Commit 5e2177d3 authored by wenqing's avatar wenqing
Browse files

Merge a PR by Tom and unify an preprocessor name suggested by Lars

parent ca73a60d
No related branches found
No related tags found
No related merge requests found
...@@ -75,8 +75,7 @@ void PETScMatrix::viewer(const std::string &file_name, const PetscViewerFormat v ...@@ -75,8 +75,7 @@ void PETScMatrix::viewer(const std::string &file_name, const PetscViewerFormat v
MatView(_A,viewer); MatView(_A,viewer);
// This preprocessor is only for debugging, e.g. dump the matrix and exit the program. // This preprocessor is only for debugging, e.g. dump the matrix and exit the program.
// To activate, remove 'non' in the following line. //#define EXIT_TEST
#define nonEXIT_TEST
#ifdef EXIT_TEST #ifdef EXIT_TEST
MatDestroy(&_A); MatDestroy(&_A);
PetscFinalize(); PetscFinalize();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment