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

zaxisDefPositive: bug fix.

parent 74e0393f
No related branches found
No related tags found
No related merge requests found
2016-08-15 Uwe Schulzweida
* zaxisDefPositive: bug fix
* Skip netCDF attribute cell_measures if grid area variable not found
* Changed interface for GME grid parameter
......
......@@ -668,9 +668,9 @@ void zaxisDefPositive(int zaxisID, int positive)
{
zaxis_t *zaxisptr = zaxisID2Ptr(zaxisID);
if (zaxisptr->positive != (unsigned)(positive != 0))
if ( zaxisptr->positive != (unsigned)positive )
{
zaxisptr->positive = (unsigned)(positive != 0);
zaxisptr->positive = (unsigned)positive;
reshSetStatus(zaxisID, &zaxisOps, RESH_DESYNC_IN_USE);
}
}
......
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