Skip to content
Snippets Groups Projects
Commit 4a9e5f1b authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[UMFPack] Make UMFPACK work in existing code that defines HAVE_UMFPACK

The backported test uses HAVE_SUITESPARSE instead, so we have to map to
that new define.
parent e43f516d
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,12 @@
#ifndef DUNE_ISTL_UMFPACK_HH
#define DUNE_ISTL_UMFPACK_HH
// some trickery to make the preprocessor define setup
// of the backported UMFPACK test work with old code
#if ENABLE_UMFPACK && not defined(ENABLE_SUITESPARSE)
#define ENABLE_SUITESPARSE ENABLE_UMFPACK
#endif
#if HAVE_UMFPACK || defined DOXYGEN
#include<complex>
......
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