Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
ab73f15b
Commit
ab73f15b
authored
Aug 15, 2016
by
Uwe Schulzweida
Browse files
zaxisDefPositive: bug fix.
parent
74e0393f
Changes
2
Show whitespace changes
Inline
Side-by-side
ChangeLog
View file @
ab73f15b
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
...
...
src/zaxis.c
View file @
ab73f15b
...
...
@@ -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
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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