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; }