Fix invalid initialization of constexpr.

This commit is contained in:
Kim Kulling
2022-02-16 21:22:35 +01:00
parent 9e23d771bc
commit 9bf5d01469

View File

@@ -1476,7 +1476,7 @@ std::vector<IfcVector2> GetContourInPlane2D(std::shared_ptr<TempMesh> mesh,IfcMa
return contour;
}
constexpr float close{ ai_epsilon };
const float close{ ai_epsilon };
static bool isClose(IfcVector2 first,IfcVector2 second) {
auto diff = (second - first);