File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ def __init__(
154154 self ._id_order_set = True
155155 self ._reset ()
156156 self ._n = len (self .weights )
157- if not self .silence_warnings and self .n_components > 1 :
157+ if ( not self .silence_warnings ) and ( self .n_components > 1 ) :
158158 message = (
159159 "The weights matrix is not fully connected: "
160160 "\n There are %d disconnected components." % self .n_components
@@ -877,9 +877,9 @@ def neighbor_offsets(self):
877877 for j , neigh_list in list (self .neighbors .items ()):
878878 self .__neighbors_0 [j ] = [id2i [neigh ] for neigh in neigh_list ]
879879 self ._cache ["neighbors_0" ] = self .__neighbors_0
880-
880+
881881 neighbor_list = self .__neighbors_0
882-
882+
883883 return neighbor_list
884884
885885 def get_transform (self ):
You can’t perform that action at this time.
0 commit comments