]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use MPI_COMM_SELF 11701/head
authorDaniel Arndt <arndtd@ornl.gov>
Sat, 6 Feb 2021 20:43:41 +0000 (15:43 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Sat, 6 Feb 2021 20:43:41 +0000 (15:43 -0500)
include/deal.II/sundials/n_vector.templates.h

index e7b50b5dae12201fd5a210a52684a2e3c3a329ae..55e08e77d00bcb8df55a08d8aacd5f28fbfeaceb 100644 (file)
@@ -492,7 +492,7 @@ template <typename VectorType,
           std::enable_if_t<is_serial_vector<VectorType>::value, int>>
 MPI_Comm SUNDIALS::internal::NVectorOperations::get_communicator(N_Vector)
 {
-  return {};
+  return MPI_COMM_SELF;
 }
 
 

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.