Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects

Resolve "compiler errors with AMR / SAAMG enabled"

Merged frey_m requested to merge 587-compiler-errors-with-amr-enabled into OPAL-2.4
Compare and Show latest version
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -33,9 +33,10 @@ MueLuPreconditioner<Level>::MueLuPreconditioner(const std::string& reuse)
template <class Level>
void MueLuPreconditioner<Level>::create(const Teuchos::RCP<amr::matrix_t>& A,
Level* level_p)
Level* /*level_p*/)
{
Teuchos::RCP<Tpetra::Operator<> > At = Teuchos::rcp_dynamic_cast<Tpetra::Operator<> >(A);
typedef Tpetra::Operator<scalar_t, lo_t, go_t, amr::node_t> TpetraOperator_t;
Teuchos::RCP<TpetraOperator_t> At = Teuchos::rcp_dynamic_cast<TpetraOperator_t>(A);
prec_mp = MueLu::CreateTpetraPreconditioner(At, params_m);
}
Loading