mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Fixed compile on OSX
This commit is contained in:
parent
83b09bffb7
commit
a09a9845b5
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ static inline T lerp(const T& a, const T& b, Number t)
|
||||||
template <typename Number>
|
template <typename Number>
|
||||||
static inline bool is_approx(Number value, Number test_value)
|
static inline bool is_approx(Number value, Number test_value)
|
||||||
{
|
{
|
||||||
return std::abs(double(value) - double(test_value)) < double(EPSILON);
|
return std::fabs(double(value) - double(test_value)) < double(EPSILON);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Slic3r
|
} // namespace Slic3r
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue