Mercurial > hg > minc-tools
changeset 19:f93897b791db
fixed parameters to ncattput in MI_create_imaxmin_variable.
author | neelin <neelin> |
---|---|
date | Fri, 06 Nov 1992 13:26:49 +0000 |
parents | 55d5b5b9c7e6 |
children | 0a6d9c29effa |
files | libsrc/minc_convenience.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libsrc/minc_convenience.c +++ b/libsrc/minc_convenience.c @@ -537,7 +537,7 @@ (datatype==NC_DOUBLE) ? (void *) &fill_d[index] : (void *) NULL); if (fillp != NULL) { - MI_CHK_ERR(ncattput(cdfid, varid, MI_FillValue, fillp)) + MI_CHK_ERR(ncattput(cdfid, varid, MI_FillValue, datatype, 1, fillp)) } /* Create pointer from MIimage to max or min if MIimage exists */