Skip to content
Snippets Groups Projects
Commit a255da6e authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Merge branch 'cherry-pick/superlu-7-dune-2.10' into 'releases/2.10'

Fixes compilation with SuperLU 7 by forcing backwards compatibility

See merge request !593
parents 9876beb5 b888ad9e
No related branches found
No related tags found
1 merge request!593Fixes compilation with SuperLU 7 by forcing backwards compatibility
Pipeline #74493 passed
......@@ -58,6 +58,13 @@ extern "C" {
#endif
#if __has_include("slu_cdefs.h")
#ifndef SUPERLU_TYPEDEF_COMPLEX
// Per default SuperLU >= 7.0.0. does not provide
// a type complex anymore. By setting SUPERLU_TYPEDEF_COMPLEX
// we tell SuperLU to define complex to be the same as the
// new type singlecomplex
#define SUPERLU_TYPEDEF_COMPLEX
#endif
#include "slu_scomplex.h"
extern "C" {
......
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