Skip to content

Commit a7d004e

Browse files
authored
Fix CBLAS prototype
1 parent b54cda8 commit a7d004e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

interface/max.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,13 @@ FLOATRET NAME(blasint *N, FLOAT *x, blasint *INCX){
145145

146146
#else
147147

148+
#ifdef COMPLEX
149+
FLOAT CNAME(blasint n, void *vx, blasint incx){
150+
FLOAT *x = (FLOAT*) vx;
151+
#else
148152
FLOAT CNAME(blasint n, FLOAT *x, blasint incx){
149-
153+
#endif
154+
150155
FLOAT ret;
151156

152157
PRINT_DEBUG_CNAME;

0 commit comments

Comments
 (0)