Skip to content
Snippets Groups Projects
Commit f757010e authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Formating + cleanup

parent 80abcc55
No related branches found
No related tags found
3 merge requests!787Eagle stellar evolution matthieu,!781Eagle stellar evolution,!778Fix default models
......@@ -1003,7 +1003,8 @@ cell_need_rebuild_for_hydro_pair(const struct cell *ci, const struct cell *cj) {
cj->dmin);
}
/**
* @brief Have particles in a pair of cells moved too much and require a rebuild
* @brief Have star particles in a pair of cells moved too much and require a
* rebuild
* ?
*
* @param ci The first #cell.
......
......@@ -54,7 +54,7 @@ extern int engine_rank;
fprintf(stderr, "[%04i] %s %s:%s():%i: " s "\n", engine_rank, \
clocks_get_timesincestart(), __FILE__, __FUNCTION__, __LINE__, \
##__VA_ARGS__); \
swift_abort(1); \
MPI_Abort(MPI_COMM_WORLD, -1); \
})
#else
#define error(s, ...) \
......
......@@ -140,7 +140,6 @@ __attribute__((always_inline)) INLINE static void scheduler_activate(
__attribute__((always_inline)) INLINE static struct link *
scheduler_activate_send(struct scheduler *s, struct link *link, int nodeID) {
if (link == NULL) error("");
struct link *l = NULL;
for (l = link; l != NULL && l->t->cj->nodeID != nodeID; l = l->next)
;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment