diff --git a/bfps/cpp/field.cpp b/bfps/cpp/field.cpp index b70825cb472316171e37e5150e09eba9d4b48eee..d5bc78a58fb84e28d9ffc2fc5cb6cd2517420fdf 100644 --- a/bfps/cpp/field.cpp +++ b/bfps/cpp/field.cpp @@ -23,6 +23,9 @@ **********************************************************************/ + +#define NDEBUG + #include <sys/stat.h> #include <cmath> #include <cstdlib> diff --git a/bfps/cpp/field_layout.cpp b/bfps/cpp/field_layout.cpp index 908904991d5d95b0c89ba679b402d8d5727b8c85..61dd3f2ac1094e5f93a375fa295cffab669b34f9 100644 --- a/bfps/cpp/field_layout.cpp +++ b/bfps/cpp/field_layout.cpp @@ -23,10 +23,15 @@ **********************************************************************/ + +#define NDEBUG + #include <cassert> #include "field_layout.hpp" #include "scope_timer.hpp" + + template <field_components fc> field_layout<fc>::field_layout( const hsize_t *SIZES, diff --git a/bfps/cpp/kspace.cpp b/bfps/cpp/kspace.cpp index 3fb250002c33282463684c5f8da051ffe8e35b27..5ceb2a806d9c57556bfa36b98e1e5114c2e64f7a 100644 --- a/bfps/cpp/kspace.cpp +++ b/bfps/cpp/kspace.cpp @@ -23,6 +23,9 @@ **********************************************************************/ + +#define NDEBUG + #include <cmath> #include <cstdlib> #include <algorithm> @@ -31,6 +34,8 @@ #include "scope_timer.hpp" #include "shared_array.hpp" + + template <field_backend be, kspace_dealias_type dt> template <field_components fc>