Commit cfa4f5ed authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Add restrict declaration.

parent bd9fd930
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment