Skip to content
GitLab
Menu
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
1bc1aaed
Commit
1bc1aaed
authored
Apr 22, 2014
by
Thomas Jahns
🤸
Browse files
Merge statements.
parent
a0935c36
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/zaxis.c
View file @
1bc1aaed
...
@@ -207,12 +207,11 @@ zaxisCreate_(int zaxistype, int size, int id)
...
@@ -207,12 +207,11 @@ zaxisCreate_(int zaxistype, int size, int id)
zaxisptr
->
positive
=
ZaxistypeEntry
[
zaxistype
].
positive
;
zaxisptr
->
positive
=
ZaxistypeEntry
[
zaxistype
].
positive
;
double
*
vals
=
(
double
*
)
xmalloc
(
size
*
sizeof
(
double
));
double
*
vals
=
zaxisptr
->
vals
=
(
double
*
)
xmalloc
(
size
*
sizeof
(
double
));
for
(
int
ilev
=
0
;
ilev
<
size
;
ilev
++
)
for
(
int
ilev
=
0
;
ilev
<
size
;
ilev
++
)
vals
[
ilev
]
=
0
.
0
;
vals
[
ilev
]
=
0
.
0
;
zaxisptr
->
vals
=
vals
;
return
zaxisID
;
return
zaxisID
;
}
}
...
...
Write
Preview
Supports
Markdown
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