Commit 62dcd635 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Use correct symbol macro.

* Also add convenient die macro.
parent 4ec073ed
......@@ -83,7 +83,7 @@ SymPrefix(set_default_comm)(MPI_Comm comm)
#else
comm_f = comm;
#endif
SYMPREFIX(default_comm) = comm;
SymPrefix(default_comm) = comm;
PPMF2C_Data.ppm_default_comm = comm_f;
}
......
......@@ -121,6 +121,9 @@ SymPrefix(abort_default)(MPI_Comm comm, const char *msg,
extern void
SymPrefix(set_default_comm)(MPI_Comm comm);
#define die(msg) \
SymPrefix(abort)(SymPrefix(default_comm), (msg), __FILE__, __LINE__)
#endif
/*
* Local Variables:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment