Apply suggestions from code review

Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
This commit is contained in:
April Novak 2021-08-19 16:08:57 -05:00 committed by GitHub
parent ea79fa079f
commit 9165a836fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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,

View file

@ -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;