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

remapDistwgtWeights(): set rv.links_per_value=1 if numNeighbors=1.

parent 1edae164
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,8 @@ remapDistwgtWeights(size_t numNeighbors, RemapSearch &rsearch, RemapVars &rv)
weightLinksToRemapLinks(0, tgt_grid_size, weightLinks, rv);
if (numNeighbors == 1) rv.links_per_value = numNeighbors;
if (cdoVerbose) cdoPrint("Point search nearest: %.2f seconds", cdo_get_wtime() - start);
} // remapDistwgtWeights
......
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