]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix ambiguous call in Utilities::MPI::all_reduce 12387/head
authorPeter Munch <peterrmuench@gmail.com>
Fri, 4 Jun 2021 10:47:30 +0000 (12:47 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Fri, 4 Jun 2021 10:47:30 +0000 (12:47 +0200)
include/deal.II/base/mpi.templates.h

index 8f7413ab1f1f03df444db173b7da9a455c1d78d8..6c9e2eb178caff261d0e0cfa1e5e3471f3d0961f 100644 (file)
@@ -621,7 +621,7 @@ namespace Utilities
       if (job_supports_mpi() && n_mpi_processes(comm) > 1)
         {
           // 1) perform reduction
-          const auto result = reduce(vec, comm, combiner);
+          const auto result = Utilities::MPI::reduce<T>(vec, comm, combiner);
 
           // 2) broadcast result
           return Utilities::MPI::broadcast(comm, result);

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.