From 9165a836fe8aa49031ab00fcabb5acdcebe07602 Mon Sep 17 00:00:00 2001 From: April Novak Date: Thu, 19 Aug 2021 16:08:57 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Patrick Shriwise --- include/openmc/mesh.h | 2 +- src/mesh.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/openmc/mesh.h b/include/openmc/mesh.h index 7a55b5f206..d14987d6d6 100644 --- a/include/openmc/mesh.h +++ b/include/openmc/mesh.h @@ -492,7 +492,7 @@ class LibMesh : public UnstructuredMesh { public: // Constructors LibMesh(pugi::xml_node node); - LibMesh(const std::string& filename, const double length_multiplier = 1.0); + LibMesh(const std::string& filename, double length_multiplier = 1.0); // Overridden Methods void bins_crossed(Position r0, Position r1, const Direction& u, diff --git a/src/mesh.cpp b/src/mesh.cpp index 7770dfb865..20a49b1d97 100644 --- a/src/mesh.cpp +++ b/src/mesh.cpp @@ -2151,7 +2151,7 @@ LibMesh::LibMesh(pugi::xml_node node) : UnstructuredMesh(node) initialize(); } -LibMesh::LibMesh(const std::string& filename, const double length_multiplier) +LibMesh::LibMesh(const std::string& filename, double length_multiplier) { filename_ = filename; @@ -2162,7 +2162,7 @@ LibMesh::LibMesh(const std::string& filename, const double length_multiplier) initialize(); } -void LibMesh::set_length_multiplier(const double length_multiplier) +void LibMesh::set_length_multiplier(double length_multiplier) { length_multiplier_ = length_multiplier; specified_length_multiplier_ = true;