Skip to content

Commit

Permalink
Restored sdot at float32_t dot
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Apr 1, 2012
1 parent 067287a commit 3518f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/mathematics/Math.cpp
Expand Up @@ -587,7 +587,7 @@ float64_t CMath::dot(
float64_t r=0;
#ifdef HAVE_LAPACK
int32_t skip=1;
r = cblas_dsdot(n, v1, skip, v2, skip);
r = cblas_sdot(n, v1, skip, v2, skip);
#else
for (int32_t i=0; i<n; i++)
r+=((float64_t)v1[i])*v2[i];
Expand Down

0 comments on commit 3518f6d

Please sign in to comment.