Small fixes for gcc

This commit is contained in:
aothms
2020-04-03 14:56:46 +00:00
parent 9b391d3d47
commit bba7295edf
3 changed files with 6 additions and 4 deletions
@@ -135,7 +135,7 @@ void fix_wallconnectivity(IfcParse::IfcFile& f, bool no_progress, bool quiet, bo
std::vector<Kernel_::FT> parameters;
std::transform(vertices(x_poly).begin(), vertices(x_poly).end(), std::back_inserter(parameters), [&P0, D](auto& v) {
std::transform(vertices(x_poly).begin(), vertices(x_poly).end(), std::back_inserter(parameters), [&P0, D](cgal_vertex_descriptor_t& v) {
return (v->point() - P0) * D;
});
+2 -2
View File
@@ -15,8 +15,8 @@
template <typename T>
T enlarge(const T& t, double d = 1.e-5) {
T::NT min[3];
T::NT max[3];
typename T::NT min[3];
typename T::NT max[3];
for (int i = 0; i < t.dimension(); ++i) {
min[i] = t.min_coord(i) - d;
max[i] = t.max_coord(i) + d;