From 9fe0ad1a03a9e36f4d2d78b504b0b6d6bca3bbcb Mon Sep 17 00:00:00 2001 From: Heidi Thornquist Date: Wed, 18 Sep 2024 14:05:45 -0600 Subject: [PATCH] Removes unused zero and one definitions --- packages/belos/src/BelosPseudoBlockStochasticCGIter.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/belos/src/BelosPseudoBlockStochasticCGIter.hpp b/packages/belos/src/BelosPseudoBlockStochasticCGIter.hpp index 0ea40fa6f948..553e994e1f69 100644 --- a/packages/belos/src/BelosPseudoBlockStochasticCGIter.hpp +++ b/packages/belos/src/BelosPseudoBlockStochasticCGIter.hpp @@ -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::one(); - const MagnitudeType zero = Teuchos::ScalarTraits::zero(); - if (!Teuchos::is_null(newstate.R)) { TEUCHOS_TEST_FOR_EXCEPTION( MVT::GetGlobalLength(*newstate.R) != MVT::GetGlobalLength(*R_),