Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit2 committed Oct 21, 2024
1 parent 33da47b commit d2099dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netCDF4/_netCDF4.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -4658,7 +4658,7 @@ pre-filled)."""
# for primitive data types.
if self._isprimitive:
#return numpy.array(default_fillvals[self.dtype.str[1:]],self.dtype)
fillval = numpy.array(default_fillvals[self.dtype.str[1:]],self.dtype)
fillval = numpy.empty((),self.dtype)
ierr=nc_inq_var_fill(self._grpid,self._varid,&no_fill,PyArray_DATA(fillval))
_ensure_nc_success(ierr)
return fillval
Expand Down

0 comments on commit d2099dc

Please sign in to comment.