ENH: debug: improve the assertion judge in Point.hpp
jira: no-jira Change-Id: I22b0cd3dc897c5cd05d14273d88f90bdc01ae644
This commit is contained in:
parent
c3f030b1a5
commit
29766420dd
|
@ -407,7 +407,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) {
|
||||||
|
|
Loading…
Reference in New Issue