Commit 4552c512 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Minor change.

parent 2f7ddb4d
......@@ -107,12 +107,14 @@ public:
/// @brief Access the bv giving the its index
const BVNode<BV>& getBV(int id) const
{
assert (id < num_bvs);
return bvs[id];
}
/// @brief Access the bv giving the its index
BVNode<BV>& getBV(int id)
{
assert (id < num_bvs);
return bvs[id];
}
......
......@@ -259,7 +259,7 @@ public:
}
/// @brief get all the contacts
void getContacts(std::vector<Contact>& contacts_)
void getContacts(std::vector<Contact>& contacts_) const
{
contacts_.resize(contacts.size());
std::copy(contacts.begin(), contacts.end(), contacts_.begin());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment