default simd ctr

This commit is contained in:
Joachim Schöberl 2016-07-07 19:54:47 +02:00
parent 59bc017c40
commit 0a9adc91e9

View File

@ -168,13 +168,19 @@ namespace netgen
SIMD () = default;
SIMD (const SIMD &) = default;
SIMD & operator= (const SIMD &) = default;
SIMD (double val)
: data(val) { ; }
/*
template <typename T>
SIMD (const T & val)
{
// SIMD_function(val, std::is_convertible<T, std::function<double(int)>>());
SIMD_function(val, has_call_operator<T>::value);
}
*/
template <typename T>
SIMD & operator= (const T & val)