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:
lane.wei
2025-09-17 21:49:55 +08:00
committed by Noisyfox
parent a84ede4467
commit f2c872f95c
+1 -1
View File
@@ -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) {