QPMS
Electromagnetic multiple scattering library and toolkit.
qpms
assert_cython_workaround.h
1
// The purpose of this file is to enable assertions in cython modules.
2
// By default, cython includes -DNDEBUG argument when running gcc and
3
// it seems this can not be disabled. Therefore, we force undefining
4
// NDEBUG in the code if DISABLE_NDEBUG is defined.
5
#ifndef ASSERT_CYTHON_H
6
#define ASSERT_CYTHON_H
7
8
#ifdef DISABLE_NDEBUG
9
#undef NDEBUG
10
#endif
11
12
#include <assert.h>
13
14
#endif
// ASSERT_CYTHON_H
Generated on Fri Jun 10 2022 12:43:00 for QPMS by
1.9.1