Commit ab73f15b authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

zaxisDefPositive: bug fix.

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