Commit 13e793ad authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Changed datatype of zaxis_is_scalar to bool.

parent b5cb62c1
......@@ -358,8 +358,8 @@ int cdfDefVar(stream_t *streamptr, int varID)
int zaxisindex = vlistZaxisIndex(vlistID, zaxisID);
int zid = streamptr->zaxisID[zaxisindex];
int zaxis_is_scalar = FALSE;
if ( zid == UNDEFID ) zaxis_is_scalar = zaxisInqScalar(zaxisID);
bool zaxis_is_scalar = false;
if ( zid == UNDEFID ) zaxis_is_scalar = zaxisInqScalar(zaxisID) > 0;
if ( dimorder[0] != 3 ) lchunk = FALSE; /* ZYX and ZXY */
......
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