Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
a99530a6
Commit
a99530a6
authored
Jan 05, 2019
by
Uwe Schulzweida
Browse files
Simplify statement.
parent
f5e8391a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/printinfo.c
View file @
a99530a6
...
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment