From 37307a164cb0b5daaf22354e6c33b05e458bf2a7 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Thu, 15 Jul 2021 23:49:23 -0600 Subject: [PATCH] Corrected constants numpy item --- src/wrf/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrf/constants.py b/src/wrf/constants.py index 1128855..518e88d 100755 --- a/src/wrf/constants.py +++ b/src/wrf/constants.py @@ -16,7 +16,7 @@ class Constants(object): for key, val in viewitems(wrf_constants.__dict__): - setattr(Constants, key.upper(), val.item()) + setattr(Constants, key.upper(), val) OMP_SCHED_STATIC = omp_constants.fomp_sched_static OMP_SCHED_DYNAMIC = omp_constants.fomp_sched_dynamic