Skip to content

Commit

Permalink
Corrected int truncation in dia_collection.
Browse files Browse the repository at this point in the history
Changed np.concatenate to an extended list.
  • Loading branch information
morriscb committed Nov 30, 2017
1 parent bc3860e commit ee0e4a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/ap/association/dia_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ def match(self, dia_source_catalog, score_struct):
n_updated_dia_objects = len(updated_dia_objects)
n_unassociated_dia_objects = \
n_previous_dia_objects - n_updated_dia_objects
updated_dia_objects.extend(new_dia_objects)
return pipeBase.Struct(
updated_and_new_dia_object_ids=np.concatenate([updated_dia_objects,
new_dia_objects]),
updated_and_new_dia_object_ids=updated_dia_objects,
n_updated_dia_objects=n_updated_dia_objects,
n_new_dia_objects=len(new_dia_objects),
n_unassociated_dia_objects=n_unassociated_dia_objects,)
Expand Down

0 comments on commit ee0e4a5

Please sign in to comment.