From 50f3ca429c6c62495ff986b9d710caebcc971616 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Wed, 9 Dec 2020 09:37:10 +0100 Subject: [PATCH] replace __SSE__ with NETGEN_HAVE_SIMD --- libsrc/interface/nginterface_v2.cpp | 2 +- libsrc/visualization/soldata.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libsrc/interface/nginterface_v2.cpp b/libsrc/interface/nginterface_v2.cpp index dce172d3..6d3b3b8c 100644 --- a/libsrc/interface/nginterface_v2.cpp +++ b/libsrc/interface/nginterface_v2.cpp @@ -1003,7 +1003,7 @@ namespace netgen } -#endif +#endif // NETGEN_HAVE_SIMD diff --git a/libsrc/visualization/soldata.hpp b/libsrc/visualization/soldata.hpp index c522f1a3..d50c3761 100644 --- a/libsrc/visualization/soldata.hpp +++ b/libsrc/visualization/soldata.hpp @@ -101,7 +101,7 @@ namespace netgen return res; } -#ifdef __SSE__ +#ifdef NETGEN_HAVE_SIMD virtual bool GetMultiSurfValue (size_t selnr, size_t facetnr, size_t npts, const ngsimd::tAVXd * xref, const ngsimd::tAVXd * x, @@ -111,7 +111,7 @@ namespace netgen cerr << "GetMultiSurfVaue not overloaded for SIMD" << endl; return false; } -#endif +#endif // NETGEN_HAVE_SIMD virtual bool GetSegmentValue (int segnr, double xref, double * values) { return false; }