From f052508f11b42846fc829f672417e3210781127e Mon Sep 17 00:00:00 2001 From: adityakpandare Date: Mon, 19 Aug 2024 10:51:59 -0600 Subject: [PATCH] minor compiler warnings fix --- src/PDE/Limiter.cpp | 2 +- src/PDE/MultiMat/DGMultiMat.hpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PDE/Limiter.cpp b/src/PDE/Limiter.cpp index 5b1610d637..46c9b63cb6 100644 --- a/src/PDE/Limiter.cpp +++ b/src/PDE/Limiter.cpp @@ -1679,7 +1679,7 @@ void BoundPreservingLimiting( std::size_t nmat, // Compute the upper and lower bound for volume fraction const tk::real min = 1e-14; - const tk::real max = 1.0 - min * (nmat - 1); + const tk::real max = 1.0 - min * static_cast(nmat - 1); // loop over all faces of the element e for (std::size_t lf=0; lf<4; ++lf) diff --git a/src/PDE/MultiMat/DGMultiMat.hpp b/src/PDE/MultiMat/DGMultiMat.hpp index d5ce6b7fc4..7070c65829 100644 --- a/src/PDE/MultiMat/DGMultiMat.hpp +++ b/src/PDE/MultiMat/DGMultiMat.hpp @@ -1016,7 +1016,6 @@ class MultiMat { //! \param[in] ndofmax Max number of degrees of freedom for p-refinement //! \param[in] tolref Tolerance for p-refinement //! \param[in,out] ndofel Vector of local number of degrees of freedome - //! \param[in] interface Vector of interface marker void eval_ndof( std::size_t nunk, [[maybe_unused]] const tk::UnsMesh::Coords& coord, [[maybe_unused]] const std::vector< std::size_t >& inpoel,