Commit 0adff76d authored by Uwe Schulzweida's avatar Uwe Schulzweida

vlistDefVarDatatype: cast CDI_default_missval to float for CDI_DATATYPE_FLT32.

parent 5ec8b921
......@@ -3,6 +3,10 @@
* using CGRIBEX library version 1.9.5
* Version 1.9.9 released
2020-08-18 Uwe Schulzweida
* vlistDefVarDatatype: cast CDI_default_missval to float for CDI_DATATYPE_FLT32
2020-08-16 Matthew Krupcale
* Missing math library during linking [Bug #9856]
......
......@@ -723,6 +723,7 @@ void vlistDefVarDatatype(int vlistID, int varID, int datatype)
case CDI_DATATYPE_UINT16: vlistptr->vars[varID].missval = USHRT_MAX; break;
case CDI_DATATYPE_INT32: vlistptr->vars[varID].missval = -INT_MAX; break;
case CDI_DATATYPE_UINT32: vlistptr->vars[varID].missval = UINT_MAX; break;
case CDI_DATATYPE_FLT32: vlistptr->vars[varID].missval = (float) CDI_default_missval; break;
}
reshSetStatus(vlistID, &vlistOps, RESH_DESYNC_IN_USE);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment