Skip to content

Commit

Permalink
Removes unused zero and one definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
hkthorn committed Sep 18, 2024
1 parent e054de7 commit 9fe0ad1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/belos/src/BelosPseudoBlockStochasticCGIter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,6 @@ namespace Belos {
//
std::string errstr("Belos::BlockPseudoStochasticCGIter::initialize(): Specified multivectors must have a consistent length and width.");

// Create convenience variables for zero and one.
const ScalarType one = Teuchos::ScalarTraits<ScalarType>::one();
const MagnitudeType zero = Teuchos::ScalarTraits<MagnitudeType>::zero();

if (!Teuchos::is_null(newstate.R)) {

TEUCHOS_TEST_FOR_EXCEPTION( MVT::GetGlobalLength(*newstate.R) != MVT::GetGlobalLength(*R_),
Expand Down

0 comments on commit 9fe0ad1

Please sign in to comment.