Browse Source

Numpy item use

main
erogluorhan 4 years ago
parent
commit
10f76e72c6
  1. 2
      src/wrf/constants.py

2
src/wrf/constants.py

@ -16,7 +16,7 @@ class Constants(object): @@ -16,7 +16,7 @@ class Constants(object):
for key, val in viewitems(wrf_constants.__dict__):
setattr(Constants, key.upper(), val)
setattr(Constants, key.upper(), np.array(val).item())
OMP_SCHED_STATIC = omp_constants.fomp_sched_static
OMP_SCHED_DYNAMIC = omp_constants.fomp_sched_dynamic

Loading…
Cancel
Save