Skip to content
Snippets Groups Projects
Commit 13e793ad authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Changed datatype of zaxis_is_scalar to bool.

parent b5cb62c1
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment