From 391423aac9b2a5715f8b2571aec926da36f8fbbe Mon Sep 17 00:00:00 2001 From: Mark Hoemmen Date: Fri, 19 Oct 2018 17:19:55 -0600 Subject: [PATCH] Fix #329 "y" argument in BLAS `{s,d,c,z}axpy_` is nonconst. --- src/impl/tpls/KokkosBlas1_axpby_tpl_spec_decl.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/impl/tpls/KokkosBlas1_axpby_tpl_spec_decl.hpp b/src/impl/tpls/KokkosBlas1_axpby_tpl_spec_decl.hpp index e34c9d59ce..b48709969f 100644 --- a/src/impl/tpls/KokkosBlas1_axpby_tpl_spec_decl.hpp +++ b/src/impl/tpls/KokkosBlas1_axpby_tpl_spec_decl.hpp @@ -48,16 +48,16 @@ #ifdef KOKKOSKERNELS_ENABLE_TPL_BLAS extern "C" void daxpy_( const int* N, const double* alpha, const double* x, const int* x_inc, - const double* y, const int* y_inc); + double* y, const int* y_inc); extern "C" void saxpy_( const int* N, const float* alpha, const float* x, const int* x_inc, - const float* y, const int* y_inc); + float* y, const int* y_inc); extern "C" void zaxpy_( const int* N, const std::complex* alpha, const std::complex* x, const int* x_inc, - const std::complex* y, const int* y_inc); + std::complex* y, const int* y_inc); extern "C" void caxpy_( const int* N, const std::complex* alpha, const std::complex* x, const int* x_inc, - const std::complex* y, const int* y_inc); + std::complex* y, const int* y_inc); namespace KokkosBlas { namespace Impl {