diff --git a/src/libslic3r/SLA/SLASupportTree.cpp b/src/libslic3r/SLA/SLASupportTree.cpp index a5fcaf3f3..650dfe2e7 100644 --- a/src/libslic3r/SLA/SLASupportTree.cpp +++ b/src/libslic3r/SLA/SLASupportTree.cpp @@ -758,7 +758,7 @@ public: template inline const Pillar& pillar(T id) const { static_assert(std::is_integral::value, "Invalid index type"); assert(id >= 0 && id < m_pillars.size() && - id < std::numerix_limits::max()); + id < std::numeric_limits::max()); return m_pillars[size_t(id)]; }