Skip to content

Commit

Permalink
Drop deprecated conditional compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchueler committed Jul 4, 2024
1 parent b80d8bb commit 299b987
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gstools/field/summator.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is the randomization method summator, implemented in cython.
import numpy as np
from cython.parallel import prange

IF OPENMP:
if OPENMP:
cimport openmp

cimport numpy as np
Expand All @@ -17,9 +17,9 @@ def set_num_threads(num_threads):
cdef int num_threads_c = 1
if num_threads is None:
# OPENMP set during setup
IF OPENMP:
if OPENMP:
num_threads_c = openmp.omp_get_num_procs()
ELSE:
else:
...
else:
num_threads_c = num_threads
Expand Down

0 comments on commit 299b987

Please sign in to comment.