[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IMP-dev] Last week in IMP



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.