From f7109d3817a1f279682c19482a1b3743bce4bfc8 Mon Sep 17 00:00:00 2001
From: Cristian Lalescu <Cristian.Lalescu@ds.mpg.de>
Date: Sun, 23 Sep 2018 10:58:01 +0200
Subject: [PATCH] turn off some debug messages

---
 bfps/cpp/field.cpp        | 3 +++
 bfps/cpp/field_layout.cpp | 5 +++++
 bfps/cpp/kspace.cpp       | 5 +++++
 3 files changed, 13 insertions(+)

diff --git a/bfps/cpp/field.cpp b/bfps/cpp/field.cpp
index b70825cb..d5bc78a5 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 90890499..61dd3f2a 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 3fb25000..5ceb2a80 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>
-- 
GitLab