Skip to content

Commit

Permalink
disable assertions at runtime in case the default compiler doesn't
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Mar 19, 2023
1 parent be8b66b commit 53568f7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,11 @@ def add_restrict_qualifier(self):
include_dirs=[np.get_include(), ".", "./src", "./approxcdf"],
language="c++",
install_requires = ["numpy", "cython", "scipy"],
define_macros = [("FOR_PYTHON", None)]
)]
define_macros = [
("FOR_PYTHON", None),
("NDEBUG", None)
]
)]
)

if not found_omp:
Expand Down

0 comments on commit 53568f7

Please sign in to comment.