From 8c97d0ec4e621bda0266031198644db238b2103f Mon Sep 17 00:00:00 2001 From: Markus Blatt <markus@dr-blatt.de> Date: Thu, 10 Oct 2024 16:18:46 +0200 Subject: [PATCH] Hopefully improve comment about complex/singlecomplex --- dune/istl/superlufunctions.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dune/istl/superlufunctions.hh b/dune/istl/superlufunctions.hh index 36b33f79b..ef307d4d3 100644 --- a/dune/istl/superlufunctions.hh +++ b/dune/istl/superlufunctions.hh @@ -59,8 +59,10 @@ extern "C" { #if __has_include("slu_cdefs.h") #ifndef SUPERLU_TYPEDEF_COMPLEX -// For now let's keep backwards compatible and let -// complex be a typedef of doublecomplex +// 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" -- GitLab