Skip to content

Commit

Permalink
Tpetra: cleanup time
Browse files Browse the repository at this point in the history
  • Loading branch information
csiefer2 committed Feb 11, 2019
1 parent 2c9d2ce commit 7b8bad6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/tpetra/core/src/Tpetra_DistObject_def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ namespace Tpetra {
Distributor& distor = transfer.getDistributor ();

if (debug) {
if (restrictedMode && (permuteToLIDs_dv.extent(0) != 0 || permuteFromLIDs_dv.extent(0) !=0)) {
if (restrictedMode && (transfer.getPermuteToLIDs_dv().extent(0) != 0 || transfer.getPermuteFromLIDs_dv().extent(0) !=0)) {
TEUCHOS_TEST_FOR_EXCEPTION
(1, std::invalid_argument,
"Tpetra::DistObject::" << modeString << ": transfer object "
Expand Down Expand Up @@ -1345,7 +1345,6 @@ namespace Tpetra {
os << *prefix << "2. copyAndPermuteNew" << endl;
std::cerr << os.str ();
}
{
ProfilingRegion region_cp
("Tpetra::DistObject::doTransferNew::copyAndPermuteNew");
#ifdef HAVE_TPETRA_TRANSFER_TIMERS
Expand Down

0 comments on commit 7b8bad6

Please sign in to comment.