summaryrefslogtreecommitdiffstats
path: root/vec_double_avx.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-01-30 14:08:14 -0500
committerErik Schnetter <schnetter@gmail.com>2013-01-30 14:08:14 -0500
commit4377afc41abd3b5ab156d7dd69a27788a90125a3 (patch)
tree0b25118d61476a4165ffe6614c593bc5ee2d979e /vec_double_avx.h
parentc682a4c10d16cf9a6416d0587f4c4efade7cb28a (diff)
downloadvecmathlib-4377afc41abd3b5ab156d7dd69a27788a90125a3.zip
vecmathlib-4377afc41abd3b5ab156d7dd69a27788a90125a3.tar.gz
Change realvec_t::name from field to function
Diffstat (limited to 'vec_double_avx.h')
-rw-r--r--vec_double_avx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vec_double_avx.h b/vec_double_avx.h
index 8d4181a..1cc9b9a 100644
--- a/vec_double_avx.h
+++ b/vec_double_avx.h
@@ -372,7 +372,7 @@ namespace vecmathlib {
typedef real_t scalar_t;
typedef __m256d vector_t;
- static constexpr char const* const name = "<AVX:4*double>";
+ static char const* name() { return "<AVX:4*double>"; }
inline void barrier() { asm("": "+x" (v)); }
static_assert(size * sizeof(real_t) == sizeof(vector_t),
OpenPOWER on IntegriCloud