Skip to content

Commit

Permalink
fix unitialised loop counter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylannl committed Dec 18, 2024
1 parent 657e8b2 commit 0917ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/roofer-app/reconstruct_building.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void compute_mesh_properties(
std::unordered_map<int, roofer::Mesh>& multisolid_lod22, float z_offset,
RooferConfig* rfcfg) {
auto MeshPropertyCalculator = roofer::misc::createMeshPropertyCalculator();
for (size_t i; i < multisolid_lod22.size(); ++i) {
for (size_t i = 0; i < multisolid_lod22.size(); ++i) {
auto& mesh22 = multisolid_lod22.at(i);
mesh22.get_attributes().resize(mesh22.get_polygons().size());

Expand Down

0 comments on commit 0917ba8

Please sign in to comment.