diff --git a/libsrc/general/mysimd.hpp b/libsrc/general/mysimd.hpp index d799f288..37a66c5c 100644 --- a/libsrc/general/mysimd.hpp +++ b/libsrc/general/mysimd.hpp @@ -168,13 +168,19 @@ namespace netgen SIMD () = default; SIMD (const SIMD &) = default; SIMD & operator= (const SIMD &) = default; - + + SIMD (double val) + : data(val) { ; } + + /* template SIMD (const T & val) { // SIMD_function(val, std::is_convertible>()); SIMD_function(val, has_call_operator::value); } + */ + template SIMD & operator= (const T & val)