Skip to content

Commit

Permalink
Fix 12648 (trilinos#12650)
Browse files Browse the repository at this point in the history
* fix spelling error in environment variable name.

closes: trilinos#12648

* change another instance of LIMT -> LIMIT
  • Loading branch information
tjfulle authored and cgcgcg committed Jan 12, 2024
1 parent 96d26ff commit 71a6afc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/tpetra/core/src/Tpetra_Details_Behavior.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ bool Behavior::overlapCommunicationAndComputation ()

size_t Behavior::spacesIdWarnLimit ()
{
constexpr char envVarName[] = "TPETRA_SPACES_ID_WARN_LIMT";
constexpr char envVarName[] = "TPETRA_SPACES_ID_WARN_LIMIT";
constexpr size_t defaultValue(16);

static size_t value_ = defaultValue;
Expand Down Expand Up @@ -645,4 +645,3 @@ bool Behavior::timeKokkosFunctions()

} // namespace Details
} // namespace Tpetra

Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ template <typename ExecSpace> class InstanceLifetimeManager {
TPETRA_DETAILS_SPACES_THROW(
"requested instance id "
<< i << " (>= " << Tpetra::Details::Behavior::spacesIdWarnLimit()
<< ") set by TPETRA_SPACES_ID_WARN_LIMT");
<< ") set by TPETRA_SPACES_ID_WARN_LIMIT");
}

// make sure we can store an exec space at index i for priority
Expand Down

0 comments on commit 71a6afc

Please sign in to comment.