Skip to content
Snippets Groups Projects
Commit 6ef2f6f4 authored by Oliver Sander's avatar Oliver Sander
Browse files

Bugfix: The return type of allreduce is int, not void

parent a028eb31
Branches
Tags
Loading
Checking pipeline status
......@@ -390,10 +390,10 @@ namespace Dune
* @returns MPI_SUCCESS (==0) if successful, an MPI error code otherwise
*/
template<typename BinaryFunction, typename Type>
void allreduce(const Type* in, Type* out, int len) const
int allreduce(const Type* in, Type* out, int len) const
{
std::copy(in, in+len, out);
return;
return 0;
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment