diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-04-01 11:23:28 +0200 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-04-01 11:23:28 +0200 |
commit | 5e8622477b24ca28ec6cb6622c830dd3ba835b8c (patch) | |
tree | 6a6471bae7d3aa2e1be923624a2a177d2576860f /blas/level2_cplx_impl.h | |
parent | 1221dd90aad41fdd610bed108c5f2f7af283dba7 (diff) |
Rename the vector() factories defined in blas/common.h into make_vector() to prevent a possible name conflict with std::vector.
Diffstat (limited to 'blas/level2_cplx_impl.h')
-rw-r--r-- | blas/level2_cplx_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blas/level2_cplx_impl.h b/blas/level2_cplx_impl.h index b850b6cd1..afa9a7493 100644 --- a/blas/level2_cplx_impl.h +++ b/blas/level2_cplx_impl.h @@ -57,8 +57,8 @@ int EIGEN_BLAS_FUNC(hemv)(char *uplo, int *n, RealScalar *palpha, RealScalar *pa if(beta!=Scalar(1)) { - if(beta==Scalar(0)) vector(actual_y, *n).setZero(); - else vector(actual_y, *n) *= beta; + if(beta==Scalar(0)) make_vector(actual_y, *n).setZero(); + else make_vector(actual_y, *n) *= beta; } if(alpha!=Scalar(0)) |