From 70c7ffc3f9a58480b0416b32fb9c018662e8af6e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 7 Apr 2023 21:24:41 -0600 Subject: [PATCH] Fix a typo. --- source/base/mpi.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5