aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas/single.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'blas/single.cpp')
-rw-r--r--blas/single.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/blas/single.cpp b/blas/single.cpp
index 836e3eee2..20ea57d5c 100644
--- a/blas/single.cpp
+++ b/blas/single.cpp
@@ -19,4 +19,4 @@
#include "level3_impl.h"
float BLASFUNC(sdsdot)(int* n, float* alpha, float* x, int* incx, float* y, int* incy)
-{ return *alpha + BLASFUNC(dsdot)(n, x, incx, y, incy); }
+{ return double(*alpha) + BLASFUNC(dsdot)(n, x, incx, y, incy); }