diff --git a/palace/linalg/distrelaxation.cpp b/palace/linalg/distrelaxation.cpp index ffeb7966c..86c1aec16 100644 --- a/palace/linalg/distrelaxation.cpp +++ b/palace/linalg/distrelaxation.cpp @@ -4,7 +4,7 @@ #include "distrelaxation.hpp" #include -#include +#include #include "linalg/chebyshev.hpp" #include "linalg/rap.hpp" diff --git a/palace/linalg/jacobi.cpp b/palace/linalg/jacobi.cpp index 417bdb6db..f6f003f1a 100644 --- a/palace/linalg/jacobi.cpp +++ b/palace/linalg/jacobi.cpp @@ -3,7 +3,7 @@ #include "jacobi.hpp" -#include +#include namespace palace { diff --git a/palace/linalg/operator.cpp b/palace/linalg/operator.cpp index 01d5f4fc5..e61461c3f 100644 --- a/palace/linalg/operator.cpp +++ b/palace/linalg/operator.cpp @@ -3,7 +3,7 @@ #include "operator.hpp" -#include +#include #include "linalg/slepc.hpp" #include "utils/communication.hpp" diff --git a/palace/linalg/rap.cpp b/palace/linalg/rap.cpp index 88cc7f96c..8e2b03977 100644 --- a/palace/linalg/rap.cpp +++ b/palace/linalg/rap.cpp @@ -3,7 +3,7 @@ #include "rap.hpp" -#include +#include namespace palace { @@ -152,6 +152,7 @@ mfem::HypreParMatrix &ParOperator::ParallelAssemble() { MFEM_ABORT("Unable to assemble the local operator for parallel assembly of " "BilinearForm!"); + lA = nullptr; } #else MFEM_VERIFY(bfA->HasSpMat(), @@ -191,15 +192,16 @@ mfem::HypreParMatrix &ParOperator::ParallelAssemble() { lA = &mbfA->SpMat(); } - else if (bfA->HasExt()) + else if (mbfA->HasExt()) { - lA = mfem::ceed::CeedOperatorFullAssemble(*bfA); + lA = mfem::ceed::CeedOperatorFullAssemble(*mbfA); own_lA = true; } else { MFEM_ABORT("Unable to assemble the local operator for parallel assembly of " "MixedBilinearForm!"); + lA = nullptr; } #else MFEM_VERIFY( diff --git a/palace/linalg/strumpack.cpp b/palace/linalg/strumpack.cpp index 5f51a0188..9f17d59ed 100644 --- a/palace/linalg/strumpack.cpp +++ b/palace/linalg/strumpack.cpp @@ -101,7 +101,7 @@ StrumpackSolverBase::StrumpackSolverBase( this->SetCompressionRelTol(lr_tol); break; case config::LinearSolverData::CompressionType::NONE: - default: + case config::LinearSolverData::CompressionType::INVALID: break; } } diff --git a/palace/linalg/vector.cpp b/palace/linalg/vector.cpp index d0e24ab66..113b7471d 100644 --- a/palace/linalg/vector.cpp +++ b/palace/linalg/vector.cpp @@ -5,7 +5,7 @@ #include #include -#include +#include namespace palace {