Skip to content

Commit

Permalink
code modification in approximate_mds to avoid numpy FutureWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinHuttley committed Jul 22, 2015
1 parent ffec75b commit bded5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogent/cluster/approximate_mds.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def add(self, mds_add, overlap_size):
"""Add a new MDS mapping to existing one
"""

if self._mds == None:
if self._mds is None:
self._mds = mds_add
return

Expand Down

0 comments on commit bded5f0

Please sign in to comment.