mirror of https://github.com/pyodide/pyodide.git
26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
From 9fe7ab77cbc2227982f87c9dbb8aa675b98fe9a8 Mon Sep 17 00:00:00 2001
|
|
From: Hood Chatham <roberthoodchatham@gmail.com>
|
|
Date: Sat, 18 Dec 2021 12:31:51 -0800
|
|
Subject: [PATCH] sasum returns double not float
|
|
|
|
---
|
|
scipy/sparse/linalg/dsolve/SuperLU/SRC/slacon2.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/scipy/sparse/linalg/dsolve/SuperLU/SRC/slacon2.c b/scipy/sparse/linalg/dsolve/SuperLU/SRC/slacon2.c
|
|
index 50efe7849..c176fddb4 100644
|
|
--- a/scipy/sparse/linalg/dsolve/SuperLU/SRC/slacon2.c
|
|
+++ b/scipy/sparse/linalg/dsolve/SuperLU/SRC/slacon2.c
|
|
@@ -104,7 +104,7 @@ slacon2_(int *n, float *v, float *x, int *isgn, float *est, int *kase, int isave
|
|
extern int SCOPY(int *, float *, int *, float *, int *);
|
|
#else
|
|
extern int isamax_(int *, float *, int *);
|
|
- extern float sasum_(int *, float *, int *);
|
|
+ extern double sasum_(int *, float *, int *);
|
|
extern int scopy_(int *, float *, int *, float *, int *);
|
|
#endif
|
|
#define d_sign(a, b) (b >= 0 ? fabs(a) : -fabs(a)) /* Copy sign */
|
|
--
|
|
2.25.1
|
|
|