[Gaul-devel] Patch for bug in ga_dereference_entity_by_id()
Brought to you by:
stewartadcock
From: Logan O. <log...@gm...> - 2008-11-07 19:25:15
|
Folks: There is a bug in ga_dereference_entity_by_id(). The pop->size was being shrunk before the entity_iarray was fixed. This means that if the entity you are dereferencing by id is the last member of the entity_iarray (rank array), it will not get correctly removed from the rank array. My patch moves the calling of pop->size-- down below the fixing of entity_iarray. Thanks, Logan |