Skip to content

Commit

Permalink
changed unique1d to unique due to numpy refactoring in numpy 1.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
pprett committed Aug 19, 2010
1 parent 5309c3b commit 8f43364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bolt/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __init__(self, dim, instances, labels, qids = None):
"""The array holding the labels. """
self._idx = np.arange(self.n)
"""The indexing array. """
self.classes = np.unique1d(labels)
self.classes = np.unique(labels)
"""The classes. """
self.qids = qids

Expand Down

0 comments on commit 8f43364

Please sign in to comment.