From 196c20a55f91f753e670f06510737be97c7536cb Mon Sep 17 00:00:00 2001 From: Michael Kirsch Date: Wed, 3 Jul 2019 22:22:09 +0200 Subject: [PATCH] change to global epsilon --- xs/src/libslic3r/TransformationMatrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/src/libslic3r/TransformationMatrix.cpp b/xs/src/libslic3r/TransformationMatrix.cpp index 221654a9b..653e54d93 100644 --- a/xs/src/libslic3r/TransformationMatrix.cpp +++ b/xs/src/libslic3r/TransformationMatrix.cpp @@ -59,7 +59,7 @@ void TransformationMatrix::swap(TransformationMatrix &other) bool TransformationMatrix::operator==(const TransformationMatrix &other) const { - double eps = 1e-14; + double const eps = EPSILON; bool is_equal = true; is_equal &= (abs(this->m11 - other.m11) < eps); is_equal &= (abs(this->m12 - other.m12) < eps);