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

Simplify statement.

parent f5e8391a
......@@ -517,7 +517,7 @@ printZaxisLevelInfo(const int levelsize, const int zaxisID, const int zaxistype,
double *levels = (double *) malloc((size_t) levelsize * sizeof(double));
zaxisInqLevels(zaxisID, levels);
if (!(zaxistype == ZAXIS_SURFACE && levelsize == 1 && !(fabs(levels[0]) > 0)))
if (!(zaxistype == ZAXIS_SURFACE && levelsize == 1 && fabs(levels[0]) <= 0))
{
const double zfirst = levels[0];
const double zlast = levels[levelsize - 1];
......
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