diff --git a/packages/zoltan2/sphynx/src/Zoltan2_Sphynx.hpp b/packages/zoltan2/sphynx/src/Zoltan2_Sphynx.hpp index 2b7e307a3a76..f778ba84aaf2 100644 --- a/packages/zoltan2/sphynx/src/Zoltan2_Sphynx.hpp +++ b/packages/zoltan2/sphynx/src/Zoltan2_Sphynx.hpp @@ -888,7 +888,7 @@ namespace Zoltan2 { Teuchos::RCP innerPolyProblem(new lproblem_t()); innerPolyProblem->setOperator(laplacian_); - using btop_t = Belos::TpetraOperator; + using btop_t = Belos::TpetraOperator; Teuchos::RCP polySolver(new btop_t(innerPolyProblem, Teuchos::rcpFromRef(paramList), "GmresPoly", true)); diff --git a/packages/zoltan2/test/sphynx/Sphynx_Research_Driver.cpp b/packages/zoltan2/test/sphynx/Sphynx_Research_Driver.cpp index 00d24977885e..0a122582cc61 100644 --- a/packages/zoltan2/test/sphynx/Sphynx_Research_Driver.cpp +++ b/packages/zoltan2/test/sphynx/Sphynx_Research_Driver.cpp @@ -409,12 +409,14 @@ int main(int narg, char *arg[]) std::cout << "init = " << init << std::endl; } - using scalar_type = double; - using local_ordinal_type = int; - using global_ordinal_type = long long; + using scalar_type = Tpetra::Details::DefaultTypes::scalar_type; + using local_ordinal_type = Tpetra::Details::DefaultTypes::local_ordinal_type; + using global_ordinal_type = Tpetra::Details::DefaultTypes::global_ordinal_type; using node_type = Tpetra::Details::DefaultTypes::node_type; using crs_matrix_type = Tpetra::CrsMatrix; + using map_type = Tpetra::Map; + using mv_type = Tpetra::MultiVector; using adapter_type = Zoltan2::XpetraCrsGraphAdapter; using solution_type = Zoltan2::PartitioningSolution; @@ -457,14 +459,11 @@ int main(int narg, char *arg[]) std::cout << "Done with reading/creating the matrix." << std::endl; } - Teuchos::RCP > map = tmatrix->getMap(); + Teuchos::RCP map = tmatrix->getMap(); - using ST = double; - using MultiVector = Tpetra::MultiVector; - - Teuchos::RCP V; + Teuchos::RCP V; if (vector_file !=""){ - V = Tpetra::MatrixMarket::Reader::readDenseFile(vector_file,pComm,map); + V = Tpetra::MatrixMarket::Reader::readDenseFile(vector_file,pComm,map); if(me == 0){ std::cout << "Done with reading user-provided eigenvectors." << std::endl; }