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

Fix support for SuperLU 4.3.

[[Imported from SVN: r1529]]
parent 4360b0a2
No related branches found
No related tags found
No related merge requests found
......@@ -349,11 +349,11 @@ namespace Dune
double def0=d.two_norm();
*/
#if SUPERLU_MIN_VERSION_4_3
#ifdef SUPERLU_MIN_VERSION_4_3
options.IterRefine=SLU_DOUBLE;
#else
#else
options.IterRefine=DOUBLE;
#endif
#endif
dgssvx(&options, &static_cast<SuperMatrix&>(mat), perm_c, perm_r, etree, &equed, R, C,
&L, &U, work, lwork, &B, &X, &rpg, &rcond, &ferr, &berr,
......@@ -418,11 +418,11 @@ namespace Dune
/* Initialize the statistics variables. */
StatInit(&stat);
#if SUPERLU_MIN_VERSION_4_3
#ifdef SUPERLU_MIN_VERSION_4_3
options.IterRefine=SLU_DOUBLE;
#else
#else
options.IterRefine=DOUBLE;
#endif
#endif
dgssvx(&options, &static_cast<SuperMatrix&>(mat), perm_c, perm_r, etree, &equed, R, C,
&L, &U, work, lwork, &B, &X, &rpg, &rcond, &ferr, &berr,
......@@ -449,5 +449,5 @@ namespace Dune
/** @} */
}
#endif
#endif
#endif // HAVE_SUPERLU
#endif // DUNE_SUPERLU_HH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment