#996 Correct thickness computation

This commit is contained in:
Thomas Krijnen
2020-09-20 11:11:44 +02:00
parent 6cc4ce46c2
commit 757e3b5272
+1 -1
View File
@@ -2712,7 +2712,7 @@ bool IfcGeom::Kernel::fold_layers(const IfcSchema::IfcWall* wall, const IfcRepre
double layer_offset = 0;
const double total_thickness = std::accumulate(thicknesses.begin(), thicknesses.end(), 0);
const double total_thickness = std::accumulate(thicknesses.begin(), thicknesses.end(), 0.);
std::vector<double>::const_iterator thickness = thicknesses.begin();
result_t::iterator result_vector = result.begin() + 1;