summaryrefslogtreecommitdiff
path: root/math/superlu_mt/files/patch-TESTING+pdgssv.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/superlu_mt/files/patch-TESTING+pdgssv.c')
-rw-r--r--math/superlu_mt/files/patch-TESTING+pdgssv.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/math/superlu_mt/files/patch-TESTING+pdgssv.c b/math/superlu_mt/files/patch-TESTING+pdgssv.c
new file mode 100644
index 000000000000..926ed0a98863
--- /dev/null
+++ b/math/superlu_mt/files/patch-TESTING+pdgssv.c
@@ -0,0 +1,16 @@
+--- TESTING/pdgssv.c.orig 2008-06-18 22:09:01.000000000 -0500
++++ TESTING/pdgssv.c 2008-06-18 22:10:18.000000000 -0500
+@@ -1,6 +1,13 @@
+ #include "pdsp_defs.h"
+ #include "util.h"
+
++/* SuperLU compatibility */
++#define DN SLU_DN
++#define _D SLU_D
++#define GE SLU_GE
++#define NC SLU_NC
++#define NR SLU_NR
++
+ void
+ pdgssv(int nprocs, SuperMatrix *A, int *perm_c, int *perm_r,
+ SuperMatrix *L, SuperMatrix *U, SuperMatrix *B, int *info )