From db9c9475d4044c5b338b3899b73dc54e237878c4 Mon Sep 17 00:00:00 2001 From: paboyle Date: Thu, 25 Jan 2018 23:36:06 +0000 Subject: [PATCH] const --- lib/simd/Grid_vector_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simd/Grid_vector_types.h b/lib/simd/Grid_vector_types.h index 979156ae..520f3b5f 100644 --- a/lib/simd/Grid_vector_types.h +++ b/lib/simd/Grid_vector_types.h @@ -158,7 +158,7 @@ public: ///////////////////////////// // Constructors ///////////////////////////// - accelerator_inline Grid_simd & operator=(Zero &z) { + accelerator_inline Grid_simd & operator=(const Zero &z) { vzero(*this); return (*this); }