26 Jun
2009
26 Jun
'09
1:58 p.m.
Nothing too much changed: * box distrubutions (IMP::algebra::random_vector_on_box(), IMP::algebra::random_vector_in_box()) take bounding boxes
* IMP::em::DensityMap are now IMP::Object objects. Some current allocations on the stack may need to be changed.
* IMP::em::DensityMap::Read() is now deprecated (as is Write). Use the more conventional IMP::em::read_map() and IMP::em::write_map() instead.
Remember, any time an object accepts and stores a pointer to another object, the passed object must be reference counted. Otherwise it is very difficult for users to get memory management correct. To make an object reference counted inherit from RefCounted or Object and used IMP::Pointer instead of a raw pointer to store.