fix unpacking of geometry for shared memory
This commit is contained in:
parent
09dc21af31
commit
d0e158ca07
@ -165,7 +165,7 @@ public:
|
||||
// }
|
||||
|
||||
bool at(const std::size_t index) const {
|
||||
BOOST_ASSERT_MSG(index < m_size, "invalid size");
|
||||
// BOOST_ASSERT_MSG(index < m_size, "invalid size");
|
||||
const unsigned bucket = index / 32;
|
||||
const unsigned offset = index % 32;
|
||||
return m_ptr[bucket] & (1 << offset);
|
||||
|
Loading…
Reference in New Issue
Block a user