Skip to content

Commit

Permalink
More minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ldowen committed Jul 18, 2024
1 parent 5ecb8df commit 8f7540e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Damage/IvanoviSALEDamageModel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#include "Boundary/Boundary.hh"
#include "Neighbor/Neighbor.hh"
#include "Utilities/mortonOrderIndices.hh"
#include "Distributed/allReduce.hh"
#include "Utilities/uniform_random.hh"

#include <boost/functional/hash.hpp> // hash_combine
Expand Down
4 changes: 2 additions & 2 deletions src/Distributed/allReduce.hh
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ distScan(const Value& value, const MPI_Op op,

template<typename Value>
constexpr Value
allReduce(const Value& value, const int /*op*/, const int) {
allReduce(const Value& value, const int /*op*/, const int = 0) {
return value;
}

template<typename Value>
constexpr Value
distScan(const Value& value, const int /*op*/, const int) {
distScan(const Value& value, const int /*op*/, const int = 0) {
return value;
}

Expand Down

0 comments on commit 8f7540e

Please sign in to comment.