Commit 72d0a473 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

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

parent c20e06d5
Pipeline #2480 passed with stages
in 15 minutes and 25 seconds
......@@ -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]);
......
Markdown is supported
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