Skip to content

Commit c1d03f4

Browse files
committed
This should pass CI...
1 parent 010ac88 commit c1d03f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/atlas/grid/detail/partitioner/MatchingMeshPartitionerCubedSphere.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void MatchingMeshPartitionerCubedSphere::partition(const Grid& grid, int partiti
3333
// Loop over grid and set partioning[].
3434
const auto lonlatIt = grid.lonlat().begin();
3535
atlas_omp_parallel_for(gidx_t i = 0; i < grid.size(); ++i) {
36-
const auto& lonLat = *(lonlatIt + i);
36+
const auto lonLat = *(lonlatIt + i);
3737
// This is probably more expensive than it needs to be, as it performs
3838
// a dry run of the cubedsphere interpolation method.
3939
partitioning[i] = finder.getCell(lonLat, listSize, edgeEpsilon, epsilon).isect ? mpi_rank : -1;

0 commit comments

Comments
 (0)