Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit committed Jul 3, 2024
1 parent 197b936 commit 79d0618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pygrib/_pygrib.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ cdef class gribmessage(object):
raise RuntimeError(_get_error_message(err))
return longval
else: # array
datarr = np.zeros(size, np.int_)
datarr = np.zeros(size, np.int_))
err = grib_get_long_array(self._gh, name, <long *>datarr.data, &size)
if err:
raise RuntimeError(_get_error_message(err))
Expand Down

0 comments on commit 79d0618

Please sign in to comment.