mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-07 15:27:42 -07: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:
parent
a84ede4467
commit
f2c872f95c
1 changed files with 1 additions and 1 deletions
|
|
@ -406,7 +406,7 @@ public:
|
|||
++ m_grid_log2;
|
||||
m_grid_resolution = 1 << m_grid_log2;
|
||||
assert(m_grid_resolution >= gridres);
|
||||
assert(gridres > m_grid_resolution / 2);
|
||||
assert(gridres >= m_grid_resolution / 2);
|
||||
}
|
||||
|
||||
void insert(const ValueType &value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue