mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
ENH: debug: improve the assertion judge in Point.hpp
jira: no-jira Change-Id: I22b0cd3dc897c5cd05d14273d88f90bdc01ae644 (cherry picked from commit 29766420dd009bb729d45f341e34fbd8d9e1b71c)
This commit is contained in:
@@ -406,7 +406,7 @@ public:
|
|||||||
++ m_grid_log2;
|
++ m_grid_log2;
|
||||||
m_grid_resolution = 1 << m_grid_log2;
|
m_grid_resolution = 1 << m_grid_log2;
|
||||||
assert(m_grid_resolution >= gridres);
|
assert(m_grid_resolution >= gridres);
|
||||||
assert(gridres > m_grid_resolution / 2);
|
assert(gridres >= m_grid_resolution / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
void insert(const ValueType &value) {
|
void insert(const ValueType &value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user