Skip to content

Commit 37307a1

Browse files
committed
Corrected constants numpy item
1 parent 31882ee commit 37307a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wrf/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Constants(object):
1616

1717

1818
for key, val in viewitems(wrf_constants.__dict__):
19-
setattr(Constants, key.upper(), val.item())
19+
setattr(Constants, key.upper(), val)
2020

2121
OMP_SCHED_STATIC = omp_constants.fomp_sched_static
2222
OMP_SCHED_DYNAMIC = omp_constants.fomp_sched_dynamic

0 commit comments

Comments
 (0)