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
cfa4f5ed
Commit
cfa4f5ed
authored
Nov 23, 2015
by
Thomas Jahns
🤸
Browse files
Add restrict declaration.
parent
bd9fd930
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grid.c
View file @
cfa4f5ed
...
...
@@ -261,7 +261,7 @@ void calc_gaussgrid(double *yvals, int ysize, double yfirst, double ylast)
}
// used also in CDO
void
gridGenYvals
(
int
gridtype
,
int
ysize
,
double
yfirst
,
double
ylast
,
double
yinc
,
double
*
yvals
)
void
gridGenYvals
(
int
gridtype
,
int
ysize
,
double
yfirst
,
double
ylast
,
double
yinc
,
double
*
restrict
yvals
)
{
const
double
deleps
=
0
.
002
;
...
...
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