Skip to content

Commit

Permalink
Tpetra: Get rid of unnecessary function on DistributorActor
Browse files Browse the repository at this point in the history
  • Loading branch information
tasmith4 committed Jun 25, 2022
1 parent 5591d04 commit bedc7d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace Tpetra {
namespace Details {

DistributorActor::DistributorActor()
: mpiTag_(getNewMpiTag())
: mpiTag_(1)
{
#ifdef HAVE_TPETRA_DISTRIBUTOR_TIMINGS
makeTimers();
Expand Down
4 changes: 0 additions & 4 deletions packages/tpetra/core/src/Tpetra_Details_DistributorActor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ class DistributorActor {
bool isReady() const;

private:
int getNewMpiTag() {
return 1;
}

int mpiTag_;

Teuchos::Array<Teuchos::RCP<Teuchos::CommRequest<int>>> requests_;
Expand Down

0 comments on commit bedc7d4

Please sign in to comment.