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
85dfd646
Commit
85dfd646
authored
Dec 07, 2007
by
Uwe Schulzweida
Browse files
vlistCat: bug fix for attributes
parent
588fbff5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/vlist.c
View file @
85dfd646
...
...
@@ -769,6 +769,9 @@ void vlistCat(int vlistID2, int vlistID1)
vlistptr2
->
vars
[
varID2
].
levinfo
=
(
LEVINFO
*
)
malloc
(
nlevs
*
sizeof
(
LEVINFO
));
memcpy
(
vlistptr2
->
vars
[
varID2
].
levinfo
,
vlistptr1
->
vars
[
varID
].
levinfo
,
nlevs
*
sizeof
(
LEVINFO
));
vlistptr2
->
vars
[
varID2
].
atts
.
nelems
=
0
;
vlistCopyVarAtts
(
vlistID1
,
varID
,
vlistID2
,
varID2
);
gridID
=
vlistptr1
->
vars
[
varID
].
gridID
;
for
(
index
=
0
;
index
<
vlistptr2
->
ngrids
;
index
++
)
if
(
gridID
==
vlistptr2
->
gridIDs
[
index
]
)
break
;
...
...
src/zaxis.c
View file @
85dfd646
...
...
@@ -1265,7 +1265,7 @@ void zaxisPrint(int zaxisID)
fprintf
(
stdout
,
"
\n
"
);
}
if
(
type
==
ZAXIS_HYBRID
)
if
(
type
==
ZAXIS_HYBRID
||
type
==
ZAXIS_HYBRID_HALF
)
{
int
i
;
int
vctsize
;
...
...
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