From: Wolfgang Bangerth Date: Sat, 8 Apr 2023 03:24:41 +0000 (-0600) Subject: Fix a typo. X-Git-Tag: v9.5.0-rc1~356^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15053%2Fhead;p=dealii.git Fix a typo. --- diff --git a/source/base/mpi.cc b/source/base/mpi.cc index 6c9bd89ecb..a837eecde4 100644 --- a/source/base/mpi.cc +++ b/source/base/mpi.cc @@ -791,10 +791,10 @@ namespace Utilities #else threads_flag << "--kokkos-threads=" << MultithreadInfo::n_threads(); #endif - std::string threads_flag_string = threads_flag.str(); + const std::string threads_flag_string = threads_flag.str(); argv_new[argc] = const_cast(threads_flag_string.c_str()); argv_new[argc + 1] = nullptr; - // The first argument in Kokkos::initialzie is of type int&. Hence, we + // The first argument in Kokkos::initialize is of type int&. Hence, we // need to define a new variable to pass to it (insted of using argc+1 // inline). int argc_new = argc + 1;