Skip to content
Snippets Groups Projects
Commit 72d0a473 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Fix error: 'nxvals' is predetermined 'shared' for 'shared'.

parent c20e06d5
No related branches found
No related tags found
No related merge requests found
Pipeline #2480 passed
......@@ -114,8 +114,8 @@ remap_nn_reg2d_reg2d(size_t nx, size_t ny, const double *restrict data, const in
{
if (gridInqType(gridID) != GRID_LONLAT) cdoAbort("Internal error, wrong grid type!");
const auto nxvals = gridInqXsize(gridID);
const auto nyvals = gridInqYsize(gridID);
auto nxvals = gridInqXsize(gridID);
auto nyvals = gridInqYsize(gridID);
Varray<double> xvals(nxvals), yvals(nyvals);
gridInqXvals(gridID, &xvals[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment