mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 06:30:34 +05:00
default simd ctr
This commit is contained in:
parent
59bc017c40
commit
0a9adc91e9
@ -169,12 +169,18 @@ namespace netgen
|
|||||||
SIMD (const SIMD &) = default;
|
SIMD (const SIMD &) = default;
|
||||||
SIMD & operator= (const SIMD &) = default;
|
SIMD & operator= (const SIMD &) = default;
|
||||||
|
|
||||||
|
SIMD (double val)
|
||||||
|
: data(val) { ; }
|
||||||
|
|
||||||
|
/*
|
||||||
template <typename T>
|
template <typename T>
|
||||||
SIMD (const T & val)
|
SIMD (const T & val)
|
||||||
{
|
{
|
||||||
// SIMD_function(val, std::is_convertible<T, std::function<double(int)>>());
|
// SIMD_function(val, std::is_convertible<T, std::function<double(int)>>());
|
||||||
SIMD_function(val, has_call_operator<T>::value);
|
SIMD_function(val, has_call_operator<T>::value);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
SIMD & operator= (const T & val)
|
SIMD & operator= (const T & val)
|
||||||
|
Loading…
Reference in New Issue
Block a user