We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37307a1 commit 10f76e7Copy full SHA for 10f76e7
src/wrf/constants.py
@@ -16,7 +16,7 @@ class Constants(object):
16
17
18
for key, val in viewitems(wrf_constants.__dict__):
19
- setattr(Constants, key.upper(), val)
+ setattr(Constants, key.upper(), np.array(val).item())
20
21
OMP_SCHED_STATIC = omp_constants.fomp_sched_static
22
OMP_SCHED_DYNAMIC = omp_constants.fomp_sched_dynamic
0 commit comments