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_),