Skip to content

Commit

Permalink
fix missing init
Browse files Browse the repository at this point in the history
  • Loading branch information
schuhmaj committed Apr 16, 2024
1 parent 27f83ed commit ebf5c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/polyhedralGravity/model/Polyhedron.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ namespace polyhedralGravity {
}

std::string Polyhedron::toString() const {
std::stringstream sstream;
std::stringstream sstream{};
sstream << "<polyhedral_gravity.Polyhedron, density=" << _density << ", vertices= "
<< countVertices() << ", faces= " << countFaces() << ", orientation= " << _orientation << ">";
return sstream.str();
Expand Down

0 comments on commit ebf5c8a

Please sign in to comment.