Skip to content
Snippets Groups Projects
Commit f6df094e authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[SuperLU] Undefine macros defined by SuperLU.

This solves warnings in UG for redefined macros.
Thanks to Christian for hinting the proper way
fixing this.
parent 15858c86
No related branches found
No related tags found
No related merge requests found
......@@ -724,5 +724,36 @@ namespace Dune
};
}
// undefine macros from SuperLU's slu_util.h
#undef FIRSTCOL_OF_SNODE
#undef NO_MARKER
#undef NUM_TEMPV
#undef USER_ABORT
#undef USER_MALLOC
#undef SUPERLU_MALLOC
#undef USER_FREE
#undef SUPERLU_FREE
#undef CHECK_MALLOC
#undef SUPERLU_MAX
#undef SUPERLU_MIN
#undef L_SUB_START
#undef L_SUB
#undef L_NZ_START
#undef L_FST_SUPC
#undef U_NZ_START
#undef U_SUB
#undef TRUE
#undef FALSE
#undef EMPTY
#undef NODROP
#undef DROP_BASIC
#undef DROP_PROWS
#undef DROP_COLUMN
#undef DROP_AREA
#undef DROP_SECONDARY
#undef DROP_DYNAMIC
#undef DROP_INTERP
#undef MILU_ALPHA
#endif // HAVE_SUPERLU
#endif // DUNE_SUPERLU_HH
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