use SIMD also for AVX (not only AVX2)

This commit is contained in:
Joachim Schöberl 2016-08-07 19:13:36 +02:00
parent 6c0c30104a
commit 5448157842
2 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,7 @@ namespace netgen
static constexpr type value = type();
};
#ifdef __AVX2__
#ifdef __AVX__
template<>
class alignas(32) SIMD<double>

View File

@ -140,6 +140,7 @@ DLL_HEADER void ExportNetgenMeshing()
tmp->SetIndex(index);
return tmp;
}
throw NgException ("cannot create element");
}),
bp::default_call_policies(), // need it to use arguments
(bp::arg("index")=1,bp::arg("vertices"))),