ENH: debug: improve the assertion judge in Point.hpp

jira: no-jira
Change-Id: I22b0cd3dc897c5cd05d14273d88f90bdc01ae644
This commit is contained in:
lane.wei 2025-03-05 09:08:09 +08:00
parent c3f030b1a5
commit 29766420dd
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,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) {