Skip to content

Commit 1d58690

Browse files
Merge pull request #28 from tjhei/lla-mpi-followup
make a variable const
2 parents c8ed720 + fc31476 commit 1d58690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/mesh_deformation/landlab.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ namespace aspect
8585

8686
this_rank_runs_landlab = (rank < n_landlab_ranks);
8787
const int color = this_rank_runs_landlab?1:0;
88-
int ierr = MPI_Comm_split(this->get_mpi_communicator(), color, rank, &landlab_communicator);
88+
const int ierr = MPI_Comm_split(this->get_mpi_communicator(), color, rank, &landlab_communicator);
8989
AssertThrow(ierr == MPI_SUCCESS, ExcMessage("Failed to split MPI communicator for Landlab simulation"));
9090

9191
if (this_rank_runs_landlab)

0 commit comments

Comments
 (0)