diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-07-20 11:51:16 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-07-20 11:51:16 +0000 |
commit | bc5248fbd473b83081cd83bfe36b6b4d09a0b6d3 (patch) | |
tree | fce0a594f4c156cc5db64e6388bce4ae322f5090 /src/comm | |
parent | 90f063e08d8a820ac37a6f1b222b717a9a71d621 (diff) |
Replaced assert(0) with abort() in CactusDefaultAbort
However, it is now commented out, otherwise you get a core file if you
give a wrong parameter, and we want to add less drastic behaviour
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1772 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm')
-rw-r--r-- | src/comm/CactusDefaultComm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comm/CactusDefaultComm.c b/src/comm/CactusDefaultComm.c index b9055027..30d921ed 100644 --- a/src/comm/CactusDefaultComm.c +++ b/src/comm/CactusDefaultComm.c @@ -330,7 +330,8 @@ int CactusDefaultAbort(cGH *GH, int retval) CACTUS_MPI_ERROR(MPI_Abort(MPI_COMM_WORLD,retval)); } #else - assert(0); + /* FIXME */ + /*abort();*/ #endif exit(0); return(0); |