]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a typo. 15053/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 8 Apr 2023 03:24:41 +0000 (21:24 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 8 Apr 2023 03:24:41 +0000 (21:24 -0600)
source/base/mpi.cc

index 6c9bd89ecb88fd5c50bbace232609e9caa0e7d94..a837eecde4577b40541ec5bd3dd0c631ea555bd2 100644 (file)
@@ -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<char *>(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;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.