From 33cb2b64f3ecb77df0c40acc4be1603d87d736fa Mon Sep 17 00:00:00 2001 From: maxfirmbach Date: Thu, 13 Feb 2025 15:51:58 +0100 Subject: [PATCH] Fix toTpetra operator cast Signed-off-by: maxfirmbach --- packages/muelu/src/Utils/MueLu_Utilities_decl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/muelu/src/Utils/MueLu_Utilities_decl.hpp b/packages/muelu/src/Utils/MueLu_Utilities_decl.hpp index e1988f482445..480114b28908 100644 --- a/packages/muelu/src/Utils/MueLu_Utilities_decl.hpp +++ b/packages/muelu/src/Utils/MueLu_Utilities_decl.hpp @@ -485,7 +485,7 @@ class Utilities : public UtilitiesBase; /***************************************************************/ if (Helpers::isTpetraCrs(Op)) { - const Tpetra::CrsMatrix& tpetraOp = Utilities::Op2TpetraCrs(Op); + const Tpetra::CrsMatrix& tpetraOp = toTpetra(Op); // Compute the transpose A of the Tpetra matrix tpetraOp. RCP> A;